]> git.eshelyaron.com Git - emacs.git/commit
Avoid undefined behaviour when copying part of structure
authorAndreas Schwab <schwab@linux-m68k.org>
Mon, 29 Nov 2021 09:29:40 +0000 (10:29 +0100)
committerEli Zaretskii <eliz@gnu.org>
Mon, 29 Nov 2021 12:45:40 +0000 (14:45 +0200)
commitde9d27f679d5e040c0ed4b974bc9225f6a330852
treefaa6d8285a9561987b6d701474d03984fc414484
parentc4daff9cf844ec85930bdcd2064787c92c260861
Avoid undefined behaviour when copying part of structure

* src/dispnew.c (copy_row_except_pointers): Don't use address of
subobject as starting point.

(cherry picked from commit 6943786b5c1fe76ea05a3a810512bd6777883710)
src/dispnew.c