--- libmicrohttpd-0.1.0-old/src/daemon/internal.c 2007-09-09 16:15:29.000000000 -0500 +++ libmicrohttpd-0.1.0/src/daemon/internal.c 2007-09-27 09:28:02.000000000 -0500 @@ -61,7 +61,7 @@ "%2x", &num)) || (1 == sscanf (&esc[1], "%2X", &num))) { esc[0] = (unsigned char) num; - memmove (&esc[1], &esc[3], strlen (&esc[3])); + memmove (&esc[1], &esc[3], strlen (&esc[3]) + 1); } val = esc + 1; }