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 /manual | |
parent | 59261ad3eb345e0d7b9f5c73e1a09d046991cea5 (diff) | |
download | glibc-2b028564f14d20cdda0c00d8ba100695b40501f5.tar.gz |
Avoid SIGFPE in wordexp [BZ #18100]
Check for a zero divisor and integer overflow before performing
division in arithmetic expansion.
Diffstat (limited to 'manual')
-rw-r--r-- | manual/pattern.texi | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/manual/pattern.texi b/manual/pattern.texi index da848c340b..d1b9275cf9 100644 --- a/manual/pattern.texi +++ b/manual/pattern.texi @@ -2006,7 +2006,8 @@ allocate room for. @comment POSIX.2 @item WRDE_SYNTAX There was a syntax error in the input string. For example, an unmatched -quoting character is a syntax error. +quoting character is a syntax error. This error code is also used to +signal division by zero and overflow in arithmetic expansion. @end table @end deftypefun |