changeset 5928:9f1b267a30f5 libavformat

Fix buffer size; should hold 2 32-bit integers in hex = 16 chars + terminating zero, so should be 17 bytes, not 9.
author rbultje
date Fri, 02 Apr 2010 22:08:57 +0000
parents 17226679fd6c
children 903f1b00cbc6
files httpauth.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/httpauth.c	Fri Apr 02 20:14:55 2010 +0000
+++ b/httpauth.c	Fri Apr 02 22:08:57 2010 +0000
@@ -187,7 +187,7 @@
     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];