]> git.eshelyaron.com Git - emacs.git/commit
Fix UB in line_hash_code
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 22 Oct 2024 19:18:14 +0000 (12:18 -0700)
committerEshel Yaron <me@eshelyaron.com>
Mon, 23 Dec 2024 14:53:24 +0000 (15:53 +0100)
commit5a8b7573352549c0ddd07d477f6f4641f1599ea2
tree3a4e004703da2a33e70c5d71532c89db68d993f1
parentdf39afb409c48c5ba653448de3aee801ec650cdd
Fix UB in line_hash_code

* src/dispnew.c (line_hash_code): Avoid undefined behavior on
integer overflow.

(cherry picked from commit dac51f1f66ef93cec6d9ea17e74a193de9ae1ff3)
src/dispnew.c