- some housekeeping
[m6w6/ext-http] / php_http_cache_api.h
index 7ca8998dd1d5453aa4706e1ad7d3647ad4bfcff6..a1d62eef20d922e2431963317bd1ce793502ebfc 100644 (file)
@@ -33,7 +33,7 @@
 #define http_etag_digest(d, l) _http_etag_digest((d), (l))
 static inline char *_http_etag_digest(const unsigned char *digest, int len)
 {
-       static const char hexdigits[16] = "0123456789abcdef";
+       static const char hexdigits[17] = "0123456789abcdef";
        int i;
        char *hex = emalloc(len * 2 + 1);
        char *ptr = hex;