Commit b2dd7ef9 authored by rbultje's avatar rbultje

Fix buffer size; should hold 2 32-bit integers in hex = 16 chars + terminating

zero, so should be 17 bytes, not 9.



git-svn-id: file:///var/local/repositories/ffmpeg/trunk@22786 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent d7ab5ba0
...@@ -187,7 +187,7 @@ static char *make_digest_auth(HTTPAuthState *state, const char *username, ...@@ -187,7 +187,7 @@ static char *make_digest_auth(HTTPAuthState *state, const char *username,
DigestParams *digest = &state->digest_params; DigestParams *digest = &state->digest_params;
int len; int len;
uint32_t cnonce_buf[2]; uint32_t cnonce_buf[2];
char cnonce[9]; char cnonce[17];
char nc[9]; char nc[9];
int i; int i;
char A1hash[33], A2hash[33], response[33]; char A1hash[33], A2hash[33], response[33];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment