Guido Vranken <guidovran...@gmail.com> writes:

> If you compile with Clang and -fsanitize=undefined, this will print:
>
> blowfish.c:388:22: runtime error: left shift of 236 by 24 places cannot be
> represented in type 'int'
>
> Explicit casting around the shifted values will fix this.

I've pushed a fix, see
https://git.lysator.liu.se/nettle/nettle/-/commit/4c8b0cdd97ffec3ae3f8d995afdfccbc261b3c79.

Thanks for the report.
/Niels

-- 
Niels Möller. PGP-encrypted email is preferred. Keyid 368C6677.
Internet email is subject to wholesale government surveillance.
_______________________________________________
nettle-bugs mailing list
nettle-bugs@lists.lysator.liu.se
http://lists.lysator.liu.se/mailman/listinfo/nettle-bugs

Reply via email to