# HG changeset patch # User rbultje # Date 1270246137 0 # Node ID 9f1b267a30f5b0e34085e75bfd7be7f215678e6b # Parent 17226679fd6cad2a5091c3a51e9e0f4e4d5bb2df Fix buffer size; should hold 2 32-bit integers in hex = 16 chars + terminating zero, so should be 17 bytes, not 9. diff -r 17226679fd6c -r 9f1b267a30f5 httpauth.c --- 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];