|
From: <sv...@va...> - 2011-12-26 18:34:57
|
Author: florian
Date: 2011-12-26 18:30:18 +0000 (Mon, 26 Dec 2011)
New Revision: 12317
Log:
When reading a decimal value consume decimal digits, not hexdigits.
Modified:
trunk/coregrind/m_aspacemgr/aspacemgr-linux.c
Modified: trunk/coregrind/m_aspacemgr/aspacemgr-linux.c
===================================================================
--- trunk/coregrind/m_aspacemgr/aspacemgr-linux.c 2011-12-24 21:50:53 UTC (rev 12316)
+++ trunk/coregrind/m_aspacemgr/aspacemgr-linux.c 2011-12-26 18:30:18 UTC (rev 12317)
@@ -3141,7 +3141,7 @@
{
Int n = 0;
*val = 0;
- while (hexdigit(*buf) >= 0) {
+ while (decdigit(*buf) >= 0) {
*val = (*val * 10) + decdigit(*buf);
n++; buf++;
}
|