Commit e1900994 authored by Eli Zaretskii's avatar Eli Zaretskii
Browse files

src/ChangeLog: Fix last entry.

parent 3eaff834
2011-05-28 Jim Meyering <meyering@redhat.com> 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. * fns.c (to_uchar): Define.
(crypto_hash_function): Use it to convert some newly-signed (crypto_hash_function): Use it to convert some newly-signed
variables to unsigned, to avoid sign-extension bugs. For example, variables to unsigned, to avoid sign-extension bugs. For example,
without this change, (md5 "truc") would evaluate to without this change, (md5 "truc") would evaluate to
45723a2aff78ff4fff7fff1114760e62 rather than the expected 45723a2aff78ff4fff7fff1114760e62 rather than the expected
45723a2af3788c4ff17f8d1114760e62. Reported by Antoine Levitt in 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> 2011-05-27 Paul Eggert <eggert@cs.ucla.edu>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment