diff options
author | Siddhesh Poyarekar <siddhesh@sourceware.org> | 2017-06-09 14:18:11 +0530 |
---|---|---|
committer | Siddhesh Poyarekar <siddhesh@sourceware.org> | 2017-06-09 14:18:12 +0530 |
commit | 6c85cc2852367ea2db91ff6a1fc0f6fc0653788d (patch) | |
tree | 5835d58f11fdd01019103721d3d1e906879dce9f /ChangeLog | |
parent | ab70273bb7b0d4b20325560eba1fd3777d7e5f11 (diff) | |
download | glibc-6c85cc2852367ea2db91ff6a1fc0f6fc0653788d.tar.gz glibc-6c85cc2852367ea2db91ff6a1fc0f6fc0653788d.tar.xz glibc-6c85cc2852367ea2db91ff6a1fc0f6fc0653788d.zip |
aarch64: Fix undefined behavior in _dl_procinfo
1 << 31 is undefined, so replace it with a cleaner check. Also remove magic numbers in comments. * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h: Remove mention of magic numbers in comments. (_dl_procinfo): Fix undefined behavior
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog index 6c6ff131db..006e7ac28e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2017-06-09 Siddhesh Poyarekar <siddhesh@sourceware.org> + + * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h: Remove + mention of magic numbers in comments. + (_dl_procinfo): Fix undefined behavior + 2017-06-08 Joseph Myers <joseph@codesourcery.com> * conform/data/sys/wait.h-data (WIFCONTINUED): Do not expect for |