You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
in static void ReleaseClient(CLIENT *pClient) in TFTPServer/main.cpp,
the line:
memset(pClient,0x00,sizeof(pClient));
should be:
memset(pClient, 0x00, sizeof(CLIENT));
so the entire structure memory gets zeroed, not just a pointer-size's worth.
This might also be an issue in other places where memset() is used.
The text was updated successfully, but these errors were encountered:
in static void ReleaseClient(CLIENT *pClient) in TFTPServer/main.cpp,
the line:
memset(pClient,0x00,sizeof(pClient));
should be:
memset(pClient, 0x00, sizeof(CLIENT));
so the entire structure memory gets zeroed, not just a pointer-size's worth.
This might also be an issue in other places where memset() is used.
The text was updated successfully, but these errors were encountered: