summaryrefslogtreecommitdiff
path: root/src/xml.c
diff options
context:
space:
mode:
authorAlan Third <alan@idiocy.org>2021-10-04 22:35:41 +0100
committerAlan Third <alan@idiocy.org>2021-10-17 10:54:18 +0100
commit7b6fb486c2e8555a04b20e067b723ef9fdb13396 (patch)
tree3abb1dd5d0f049b78c5d736aecb5294e27102129 /src/xml.c
parented9f5546aa71e0f187eaff1b2a9ccfe7772e9f5c (diff)
downloademacs-7b6fb486c2e8555a04b20e067b723ef9fdb13396.tar.gz
emacs-7b6fb486c2e8555a04b20e067b723ef9fdb13396.tar.bz2
emacs-7b6fb486c2e8555a04b20e067b723ef9fdb13396.zip
Fix potential buffer overflow (bug#50767)
* src/image.c (svg_load_image): Check how many bytes were actually written to the buffer. Don't check xmalloc return value as xmalloc doesn't return if it fails.
Diffstat (limited to 'src/xml.c')
0 files changed, 0 insertions, 0 deletions