1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-04-27 16:51:06 -07:00

src/ChangeLog: Fix last entry.

This commit is contained in:
Eli Zaretskii 2011-05-28 15:54:28 +03:00
parent 3eaff8342b
commit e19009947f

View file

@ -1,13 +1,13 @@
2011-05-28 Jim Meyering <meyering@redhat.com>
avoid a sign-extension bug in crypto_hash_function
Avoid a sign-extension bug in crypto_hash_function.
* fns.c (to_uchar): Define.
(crypto_hash_function): Use it to convert some newly-signed
variables to unsigned, to avoid sign-extension bugs. For example,
without this change, (md5 "truc") would evaluate to
45723a2aff78ff4fff7fff1114760e62 rather than the expected
45723a2af3788c4ff17f8d1114760e62. Reported by Antoine Levitt in
http://thread.gmane.org/gmane.emacs.devel/139824
https://lists.gnu.org/archive/html/emacs-devel/2011-05/msg00883.html.
2011-05-27 Paul Eggert <eggert@cs.ucla.edu>