Fixed issue: [ 1625522 ] Incorrect search results in text mode (char buffer overflow)

This commit is contained in:
rheiny 2007-02-11 19:08:51 +00:00
parent 78794d2d6f
commit 69cd8e18a1
1 changed files with 1 additions and 1 deletions

View File

@ -373,7 +373,7 @@ static void ResetSearch(void)
static int srescallb(uint32 a, uint8 last, uint8 current, void *data)
{
char tmp[13];
char tmp[14];
sprintf(tmp, "$%04x:%03d:%03d",(unsigned int)a,(unsigned int)last,(unsigned int)current);
return(AddToList(tmp,a));
}