]> git.ozlabs.org Git - ppp.git/commit
pppd: Make sure we don't return an initialized CHAP Response length
authorPaul Mackerras <paulus@ozlabs.org>
Tue, 20 Aug 2024 07:29:16 +0000 (17:29 +1000)
committerPaul Mackerras <paulus@ozlabs.org>
Tue, 20 Aug 2024 07:31:45 +0000 (17:31 +1000)
commit05b737b37fc57781b327b7e294cee0028780bb58
tree2b93017f3186daed926501416cfd60c49aa6840b
parent2fdc5692efecf5736cd215b30ebdde41cf20a4f1
pppd: Make sure we don't return an initialized CHAP Response length

If anything goes wrong in preparing a CHAP Response, return a 0-length
response instead of leaving the length field uninitialized.  Also
print a warning message to say that something went wrong.

Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
pppd/chap-md5.c