diff options
author | Siddhesh Poyarekar <siddhesh@redhat.com> | 2013-01-02 11:33:11 +0530 |
---|---|---|
committer | Siddhesh Poyarekar <siddhesh@redhat.com> | 2013-01-02 11:33:11 +0530 |
commit | 4d55b4e596d63705b86200d15d905b2549dd25df (patch) | |
tree | 83db5fc21391432d05946d31ca96b29634586392 /elf/setup-vdso.h | |
parent | da08f647d58d674db08cdb3e61c8826c89470e2e (diff) | |
download | glibc-4d55b4e596d63705b86200d15d905b2549dd25df.tar.gz glibc-4d55b4e596d63705b86200d15d905b2549dd25df.tar.xz glibc-4d55b4e596d63705b86200d15d905b2549dd25df.zip |
Add assert for potential access beyond array bounds in m1np
The mpexp code has an access into m1np: for (i=n-1; i>0; i--,n--) { if (m1np[i][p]+m2>0) break; } which could break for p >= 18 or i >= 7. Fortunately this code is never called due to the way the exp function is implemented since values having exponent less than -55 return 1.0. Make sure that if it gets called in future, it is trapped.
Diffstat (limited to 'elf/setup-vdso.h')
0 files changed, 0 insertions, 0 deletions