
Pages:<< prev 1 next >>


Off the Edge of the Map

GroupAdministrators
Posts1,199
JoinedMar 21, 2006
Bug: Potential Stack Overwrite in display_prompt
Danger: Minor - Probably never see it actually happen, but the chance is there.
Found by: Nick Gammon
Fixed by: Nick Gammon
---
comm.c, display_prompt;
Find:
Replace with:
Danger: Minor - Probably never see it actually happen, but the chance is there.
Found by: Nick Gammon
Fixed by: Nick Gammon
---
comm.c, display_prompt;
Find:
if( pstat != 0x80000000 ) snprintf( pbuf, MAX_STRING_LENGTH, "%d", pstat ); pbuf += strlen( pbuf );
Replace with:
if( pstat != 0x80000000 ) snprintf( pbuf, MAX_STRING_LENGTH - strlen (buf), "%d", pstat ); pbuf += strlen( pbuf );
Pages:<< prev 1 next >>