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:
parent
4598d32ab4
commit
3d258b0fd7
|
@ -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] = '@';
|
||||
|
|
Loading…
Reference in New Issue