1 diff -urN ntop-5.0.orig/httpd.c ntop-5.0/httpd.c
2 --- ntop-5.0.orig/httpd.c 2012-07-18 01:14:33.000000000 +0200
3 +++ ntop-5.0/httpd.c 2012-07-20 12:15:57.306231889 +0200
5 strncpy(thePw, &outBuffer[i+1], thePwLen-1)[thePwLen-1] = '\0';
11 if(strlen(user) >= sizeof(theHttpUser)) user[sizeof(theHttpUser)-1] = '\0';
12 strcpy(theHttpUser, user);