diff options
author | Florian Weimer <fweimer@redhat.com> | 2015-03-23 16:12:38 +0100 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2015-03-23 16:12:38 +0100 |
commit | 2b028564f14d20cdda0c00d8ba100695b40501f5 (patch) | |
tree | 46699eeec32449e0894c69d8d39c30c39e6d1c63 /ChangeLog | |
parent | 59261ad3eb345e0d7b9f5c73e1a09d046991cea5 (diff) | |
download | glibc-2b028564f14d20cdda0c00d8ba100695b40501f5.tar glibc-2b028564f14d20cdda0c00d8ba100695b40501f5.tar.gz glibc-2b028564f14d20cdda0c00d8ba100695b40501f5.tar.bz2 glibc-2b028564f14d20cdda0c00d8ba100695b40501f5.zip |
Avoid SIGFPE in wordexp [BZ #18100]
Check for a zero divisor and integer overflow before performing
division in arithmetic expansion.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -1,3 +1,13 @@ +2015-03-23 Florian Weimer <fweimer@redhat.com> + + [BZ #18100] + * posix/wordexp.c (eval_expr_multdiv): Check for division by zero + and integer overflow. + * posix/wordexp-test.c (test_case): Add divide-by-zero test. + (main): Add integer overflow tests. + * manual/pattern.texi (Calling Wordexp): Document additional use + for WRDE_SYNTAX. + 2015-03-23 Alan Modra <amodra@gmail.com> * config.h.in: Remove HAVE_ASM_PPC_REL16. |