Commit 3d258b0f authored by Gerald Pfeifer's avatar Gerald Pfeifer Committed by Alexandre Julliard

winedump: Increase buffer size and potential string length inoutput_spec_symbol.

parent 4598d32a
...@@ -62,13 +62,13 @@ void output_spec_preamble (void) ...@@ -62,13 +62,13 @@ void output_spec_preamble (void)
*/ */
void output_spec_symbol (const parsed_symbol *sym) void output_spec_symbol (const parsed_symbol *sym)
{ {
char ord_spec[16]; char ord_spec[20];
assert (specfile); assert (specfile);
assert (sym && sym->symbol); assert (sym && sym->symbol);
if (sym->ordinal >= 0) if (sym->ordinal >= 0)
snprintf(ord_spec, 8, "%d", sym->ordinal); snprintf(ord_spec, 12, "%d", sym->ordinal);
else else
{ {
ord_spec[0] = '@'; ord_spec[0] = '@';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment