Opened 16 years ago
Closed 16 years ago
#4028 closed Bug report (fixed)
Incorrect usages of memset function
Reported by: | Dmytro Gorbunov | Owned by: | |
---|---|---|---|
Priority: | normal | Component: | FileZilla Server |
Keywords: | memset | Cc: | |
Component version: | Operating system type: | Windows | |
Operating system version: |
Description
We've detected following issues in sources from https://filezilla.svn.sourceforge.net/svnroot/filezilla/FileZilla Server/trunk/...
- File: FileZilla Server/source/Interface/misc/ProcessorInfo.h:
247: MEMORYSTATUS memoryStatus;
248:
249: memset (&memoryStatus, sizeof (MEMORYSTATUS), 0);
250: memoryStatus.dwLength = sizeof (MEMORYSTATUS);
Line 249 should be
249: memset (&memoryStatus, 0, sizeof (MEMORYSTATUS));
- The same issue in File: FileZilla Server/source/misc/ProcessorInfo.h
Regards,
Dmytro Gorbunov
Leader of SaveSources team
http://savesources.com
Note:
See TracTickets
for help on using tickets.
Thanks.