[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: clang memory sanitizer report unsigned int overflow
- From: Roberto Ierusalimschy <roberto@...>
- Date: Thu, 5 Jan 2023 11:14:16 -0300
> [...]
> >
> > Though not sure which part of that would be causing an add overflow because
> > h is an unsigned int which I believe should not trigger UB when it
> > overflows.
>
> The 'reason' itself states "Unsigned integer overflow", which does not
> exist in ISO C...
See https://stackoverflow.com/questions/73779721/why-does-the-clang-sanitizer-think-this-left-shift-of-an-unsigned-number-is-unde
-- Roberto