]> git.pld-linux.org Git - packages/ntop.git/blame - ntop-http_c.patch
- 4.0.1
[packages/ntop.git] / ntop-http_c.patch
CommitLineData
8db4b37a
ER
1revision 1.3
2date: 2009/10/10 06:09:31; author: rakesh; state: Exp; lines: +11 -9
3Patch7: ntop-http_c_user.patch for #518264 (CVE-2009-2732)
4----------------------------
5revision 1.2
6date: 2009/08/05 15:25:07; author: rakesh; state: dead; lines: +0 -0
7
8 - Updated to 3.3.10, updated geoip patch
9 - lua_wget patch to prevent wget lua
10 - removed ntop-http_c.patch
11----------------------------
12revision 1.1
13date: 2009/03/17 08:28:30; author: rakesh; state: Exp;
14Fixed world-writable access log (#490561)
15
16--- ntop-3.3.10.org/http.c 2009-09-13 14:23:48.895204786 +0530
17+++ ntop-3.3.10/http.c 2009-09-13 14:45:35.603204376 +0530
18@@ -3439,6 +3439,9 @@
19 strncpy(thePw, &outBuffer[i+1], thePwLen-1)[thePwLen-1] = '\0';
20 }
21
22+ if(user == NULL)
23+ user = "";
24+
25 if(strlen(user) >= sizeof(theHttpUser)) user[sizeof(theHttpUser)-1] = '\0';
26 strcpy(theHttpUser, user);
27
This page took 0.091361 seconds and 4 git commands to generate.