]> Savannah Git Hosting - gnulib.git/commit
crypto/des: Fix undefined behaviour.
authorBruno Haible <bruno@clisp.org>
Sat, 9 Mar 2019 21:21:25 +0000 (22:21 +0100)
committerBruno Haible <bruno@clisp.org>
Sat, 9 Mar 2019 21:21:25 +0000 (22:21 +0100)
commitb64bf15ed34a2bdb095d2b5e84e3e3e8bb71e91e
tree6bebcf818dee21f1670b61ce616f3caa86c943ca
parent42254c0a96d69a5e107971343596cc0fd3e92149
crypto/des: Fix undefined behaviour.

* lib/des.c (READ_64BIT_DATA): Cast bytes to 'unsigned int', to avoid
shift operations on 'int'.
ChangeLog
lib/des.c