winedump: Increase buffer size and potential string length inoutput_spec_symbol.

Signed-off-by: Gerald Pfeifer <gerald@pfeifer.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Gerald Pfeifer 2017-01-21 17:26:42 +01:00 committed by Alexandre Julliard
parent 4598d32ab4
commit 3d258b0fd7
1 changed files with 2 additions and 2 deletions

View File

@ -62,13 +62,13 @@ void output_spec_preamble (void)
*/
void output_spec_symbol (const parsed_symbol *sym)
{
char ord_spec[16];
char ord_spec[20];
assert (specfile);
assert (sym && sym->symbol);
if (sym->ordinal >= 0)
snprintf(ord_spec, 8, "%d", sym->ordinal);
snprintf(ord_spec, 12, "%d", sym->ordinal);
else
{
ord_spec[0] = '@';