On Tue, Dec 29, 2020 at 06:03:36AM -0700, Todd C. Miller wrote:
> On Tue, 29 Dec 2020 10:33:26 +0000, Miod Vallat wrote:
> 
> > regcomp.c uses the "start + count < end" idiom to check that there are
> > "count" bytes available in an array of char "start" and "end" both point
> > to.
> >
> > This is fine, unless "start + count" goes beyond the last element of the
> > array. In this case, pedantic interpretation of the C standard makes
> > the comparison of such a pointer against "end" undefined, and optimizers
> > from hell will happily remove as much code as possible because of this.
> 
> OK millert@

Thank you. I have committed this batch of four diffs.

Reply via email to