aboutsummaryrefslogtreecommitdiffstats
path: root/src/buffer.c
diff options
context:
space:
mode:
authorPhilipp Stephani2019-05-04 22:59:46 +0200
committerPhilipp Stephani2019-05-04 23:04:24 +0200
commit1242a63671f3fc3d427d9d8061338f826e585031 (patch)
treef911947a957a961f99031ac71211ed8be880cef9 /src/buffer.c
parent2e0947abbc384a55411880c6d49020b43fe8b5f5 (diff)
downloademacs-1242a63671f3fc3d427d9d8061338f826e585031.tar.gz
emacs-1242a63671f3fc3d427d9d8061338f826e585031.zip
Avoid undefined behavior when printing function pointers.
* src/print.c (print_vectorlike): Don’t pass a function pointer to ‘snprintf’, as that is undefined behavior. Instead, print the individual bytes making up the function pointer.
Diffstat (limited to 'src/buffer.c')
0 files changed, 0 insertions, 0 deletions