Fixed issue: [ 1625522 ] Incorrect search results in text mode (char buffer overflow)
This commit is contained in:
parent
78794d2d6f
commit
69cd8e18a1
|
@ -373,7 +373,7 @@ static void ResetSearch(void)
|
||||||
|
|
||||||
static int srescallb(uint32 a, uint8 last, uint8 current, void *data)
|
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);
|
sprintf(tmp, "$%04x:%03d:%03d",(unsigned int)a,(unsigned int)last,(unsigned int)current);
|
||||||
return(AddToList(tmp,a));
|
return(AddToList(tmp,a));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue