[FFmpeg-cvslog] r22786 - trunk/libavformat/httpauth.c
rbultje
subversion
Sat Apr 3 00:08:57 CEST 2010
Author: rbultje
Date: Sat Apr 3 00:08:57 2010
New Revision: 22786
Log:
Fix buffer size; should hold 2 32-bit integers in hex = 16 chars + terminating
zero, so should be 17 bytes, not 9.
Modified:
trunk/libavformat/httpauth.c
Modified: trunk/libavformat/httpauth.c
==============================================================================
--- trunk/libavformat/httpauth.c Fri Apr 2 22:14:55 2010 (r22785)
+++ trunk/libavformat/httpauth.c Sat Apr 3 00:08:57 2010 (r22786)
@@ -187,7 +187,7 @@ static char *make_digest_auth(HTTPAuthSt
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];
More information about the ffmpeg-cvslog
mailing list