char pointer must be 11 byte to fit 10 characters + \0.
This commit is contained in:
parent
694f789956
commit
222d74ae27
|
@ -553,7 +553,7 @@ static int pf_vsnprintf( pf_output *out, const WCHAR *format, va_list valist )
|
||||||
/* output a pointer */
|
/* output a pointer */
|
||||||
else if( flags.Format == 'p' )
|
else if( flags.Format == 'p' )
|
||||||
{
|
{
|
||||||
char pointer[10];
|
char pointer[11];
|
||||||
|
|
||||||
flags.PadZero = 0;
|
flags.PadZero = 0;
|
||||||
if( flags.Alternate )
|
if( flags.Alternate )
|
||||||
|
|
Loading…
Reference in New Issue