Avoid SIGFPE in wordexp [BZ #18100]
commit2b028564f14d20cdda0c00d8ba100695b40501f5
authorFlorian Weimer <fweimer@redhat.com>
Mon, 23 Mar 2015 15:12:38 +0000 (23 16:12 +0100)
committerFlorian Weimer <fweimer@redhat.com>
Mon, 23 Mar 2015 15:12:38 +0000 (23 16:12 +0100)
tree46699eeec32449e0894c69d8d39c30c39e6d1c63
parent59261ad3eb345e0d7b9f5c73e1a09d046991cea5
Avoid SIGFPE in wordexp [BZ #18100]

Check for a zero divisor and integer overflow before performing
division in arithmetic expansion.
ChangeLog
NEWS
manual/pattern.texi
posix/wordexp-test.c
posix/wordexp.c