lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


> [...]
> > 
> > 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