diff options
author | Siddhesh Poyarekar <siddhesh@redhat.com> | 2012-04-25 11:52:39 +0530 |
---|---|---|
committer | Siddhesh Poyarekar <siddhesh@redhat.com> | 2012-04-25 12:27:03 +0530 |
commit | ceab42c380901dee40dc8b1fda0453b8ca918cc8 (patch) | |
tree | 60f68677ced022ef8e13cd686fac51635875eeaf /ChangeLog | |
parent | 3ce2865f93d42f4721d58088dd6ab1dac06ea85b (diff) | |
download | glibc-ceab42c380901dee40dc8b1fda0453b8ca918cc8.tar.gz glibc-ceab42c380901dee40dc8b1fda0453b8ca918cc8.tar.xz glibc-ceab42c380901dee40dc8b1fda0453b8ca918cc8.zip |
Parse hexadecimal and octal strings correctly
The current implementation of __strtoul_internal seems to only pretend to support hex and octal strings by detecting a preceding 0x or 0 and marking base as 8 or 16. When it comes to the actual processing of the string, it only considers numeric values within, thus breaking hex values that may have [a-f] in them. Fixed with this commit.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog index 0f558fe37c..1a1d23a968 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com> + Paul Pluzhnikov <ppluzhnikov@google.com> + + * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal + strings correctly. + 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com> * sysdeps/sh/memcpy.S: Remove include of endian.h, change |