projects
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f3c68c5
)
Fix buffer size; should hold 2 32-bit integers in hex = 16 chars + terminating
author
Ronald S. Bultje
<rsbultje@gmail.com>
Fri, 2 Apr 2010 22:08:57 +0000
(22:08 +0000)
committer
Ronald S. Bultje
<rsbultje@gmail.com>
Fri, 2 Apr 2010 22:08:57 +0000
(22:08 +0000)
zero, so should be 17 bytes, not 9.
Originally committed as revision 22786 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/httpauth.c
patch
|
blob
|
blame
|
history
diff --git
a/libavformat/httpauth.c
b/libavformat/httpauth.c
index
d82f3a9
..
cef2756
100644
(file)
--- a/
libavformat/httpauth.c
+++ b/
libavformat/httpauth.c
@@
-187,7
+187,7
@@
static char *make_digest_auth(HTTPAuthState *state, const char *username,
DigestParams *digest = &state->digest_params;
int len;
uint32_t cnonce_buf[2];
- char cnonce[
9
];
+ char cnonce[
17
];
char nc[9];
int i;
char A1hash[33], A2hash[33], response[33];