]> 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)
committerAndreas Schwab <schwab@linux-m68k.org>
Mon, 29 Nov 2021 09:30:10 +0000 (10:30 +0100)
commit6943786b5c1fe76ea05a3a810512bd6777883710
treeafafec358f7fbdadc42c1ab32df0d0e129861716
parent4320180111422ad803f26a30e616f1f18efedb65
Avoid undefined behaviour when copying part of structure

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