Opened 10 years ago

Closed 10 years ago

#9850 closed Bug report (fixed)

Minor bug in CServer::ShowStatus

Reported by: Philip Hoppe Owned by:
Priority: low Component: FileZilla Server
Keywords: CServer eventDateHigh ShowStatus Cc:
Component version: Operating system type: Windows
Operating system version: Windows 7

Description

The line:

memcpy(pBuffer + 1, &eventDateHigh, 8);

Should be

memcpy(pBuffer + 1, &eventDateHigh, 4);

as eventDataHigh is a DWORD.

(No harm done, as the extra memory is overridden in the following line)

Change History (1)

comment:1 by Tim Kosse, 10 years ago

Resolution: fixed
Status: newclosed

Thanks, will be fixed in the next version of FileZilla Server.

Note: See TracTickets for help on using tickets.