mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-05 18:01:34 +00:00
iphlpapi/tests: Increase buffer size to prevent overflow.
This commit is contained in:
parent
73e0efac9d
commit
01d5632e5e
1 changed files with 1 additions and 1 deletions
|
@ -303,7 +303,7 @@ static void testGetIpForwardTable(void)
|
|||
trace( "IP forward table: %u entries\n", buf->dwNumEntries );
|
||||
for (i = 0; i < buf->dwNumEntries; i++)
|
||||
{
|
||||
char buffer[40];
|
||||
char buffer[100];
|
||||
sprintf( buffer, "dest %s", ntoa( buf->table[i].dwForwardDest ));
|
||||
sprintf( buffer + strlen(buffer), " mask %s", ntoa( buf->table[i].dwForwardMask ));
|
||||
trace( "%u: %s gw %s if %u type %u\n", i, buffer,
|
||||
|
|
Loading…
Reference in a new issue