a_vexpr_numeric(): for /,%, avoid lvh=S64_MIN, rhv=-1 (Chet Ramey)..
commit919ea0a759734f55441c498238f54fc17694d5f0
authorSteffen Nurpmeso <steffen@sdaoden.eu>
Thu, 30 Jun 2022 14:17:45 +0000 (30 16:17 +0200)
committerSteffen Nurpmeso <steffen@sdaoden.eu>
Fri, 1 Jul 2022 20:01:16 +0000 (1 22:01 +0200)
tree7e05b8da3226a318c8a21fdc58a858ef23f0ddee
parent2d7e3c71e15e223ca3888e80bfac5f2323383bc1
a_vexpr_numeric(): for /,%, avoid lvh=S64_MIN, rhv=-1 (Chet Ramey)..

CHANGES, bash 4.3 [ac50fbac377e32b98d2de396f016ea81e8ee9961]:

 Fixed a bug that caused floating-point exceptions and overflow errors
 for the / and % arithmetic operators when using INTMAX_MIN and -1.
src/mx/cmd-vexpr.c