Re: BUG #18247: Integer overflow leads to negative width - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #18247: Integer overflow leads to negative width
Date
Msg-id 2903192.1702610421@sss.pgh.pa.us
Whole thread Raw
In response to Re: BUG #18247: Integer overflow leads to negative width  (RekGRpth <rekgrpth@gmail.com>)
List pgsql-bugs
RekGRpth <rekgrpth@gmail.com> writes:
> How bad would it be if, after overflowing, the width value was within
> the allowed range?

Really pretty negligible, I should think.  You might get a not-great
choice of plan.  As Richard noted, there are some Asserts you could
hit; but not in a production build.

            regards, tom lane



pgsql-bugs by date:

Previous
From: RekGRpth
Date:
Subject: Re: BUG #18247: Integer overflow leads to negative width
Next
From: Alexander Lakhin
Date:
Subject: Re: BUG #18247: Integer overflow leads to negative width