diff options
author | wolfbeast <mcwerewolf@wolfbeast.com> | 2020-01-11 14:15:49 +0100 |
---|---|---|
committer | wolfbeast <mcwerewolf@wolfbeast.com> | 2020-01-11 14:15:49 +0100 |
commit | 823b9a4120813274849e68443ec43249b97add3e (patch) | |
tree | 0845f6a6ce06db041530948c5cbd4c347ba12866 /netwerk/protocol | |
parent | 319d485e234dff3f59ac2e98ccf4c32a1aa43642 (diff) | |
parent | cffb44547ae7997e5eaf71c644bd626eeb3bba00 (diff) | |
download | UXP-823b9a4120813274849e68443ec43249b97add3e.tar UXP-823b9a4120813274849e68443ec43249b97add3e.tar.gz UXP-823b9a4120813274849e68443ec43249b97add3e.tar.lz UXP-823b9a4120813274849e68443ec43249b97add3e.tar.xz UXP-823b9a4120813274849e68443ec43249b97add3e.zip |
Merge branch 'release' into Pale_Moon-release
Diffstat (limited to 'netwerk/protocol')
-rw-r--r-- | netwerk/protocol/http/nsHttpNTLMAuth.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/netwerk/protocol/http/nsHttpNTLMAuth.cpp b/netwerk/protocol/http/nsHttpNTLMAuth.cpp index aa5b1f8f7..86bfcf4d1 100644 --- a/netwerk/protocol/http/nsHttpNTLMAuth.cpp +++ b/netwerk/protocol/http/nsHttpNTLMAuth.cpp @@ -486,8 +486,8 @@ nsHttpNTLMAuth::GenerateCredentials(nsIHttpAuthenticableChannel *authChannel, len -= 5; // strip off any padding (see bug 230351) - while (challenge[len - 1] == '=') - len--; + while (len && challenge[len - 1] == '=') + len--; // decode into the input secbuffer rv = Base64Decode(challenge, len, (char**)&inBuf, &inBufLen); |