From 9246ef1635d3a2cc3e2eb0df2f904dd0330fac8c Mon Sep 17 00:00:00 2001 From: Florian Krohm Date: Fri, 20 Mar 2015 16:45:02 +0000 Subject: [PATCH] Fix parsing the %z format specifier. Need to advance to next character. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15027 --- coregrind/m_debuglog.c | 1 + 1 file changed, 1 insertion(+) diff --git a/coregrind/m_debuglog.c b/coregrind/m_debuglog.c index 25ac7eebb0..22941f27d7 100644 --- a/coregrind/m_debuglog.c +++ b/coregrind/m_debuglog.c @@ -819,6 +819,7 @@ VG_(debugLog_vprintf) ( is_sizet = False; if (format[i] == 'z') { is_sizet = True; + ++i; } else { while (format[i] == 'l') { i++; -- 2.47.3