SF Bug Tracker id 3496938 - Missing structures initialisation in some functions
Submitted: Fabrice Fontaine ( ffontaine ) - 2012-03-05 01:31:16 PST
Memsetting to 0 some of the structures: finfo in process_request,
job in readFromSSDPSocket, request in http_OpenHttpGetEx, job in
genaNotifyThread, job in genaNotifyAllExt, job in genaNotifyAll,
job in genaInitNotifyExt, job in genaInitNotify, LocalAddr in
getlocalhostname.
(cherry picked from commit 7301f46269)
This commit is contained in:
committed by
Marcelo Roberto Jimenez
parent
f25c62e65c
commit
1dbcdaef98
@@ -1013,6 +1013,7 @@ static int process_request(
|
||||
req->method == HTTPMETHOD_POST ||
|
||||
req->method == HTTPMETHOD_SIMPLEGET);
|
||||
/* init */
|
||||
memset(&finfo, 0, sizeof(finfo));
|
||||
request_doc = NULL;
|
||||
finfo = UpnpFileInfo_new();
|
||||
alias_grabbed = FALSE;
|
||||
|
||||
Reference in New Issue
Block a user