diff options
| author | Philipp Stephani | 2019-05-04 22:59:46 +0200 |
|---|---|---|
| committer | Philipp Stephani | 2019-05-04 23:04:24 +0200 |
| commit | 1242a63671f3fc3d427d9d8061338f826e585031 (patch) | |
| tree | f911947a957a961f99031ac71211ed8be880cef9 /src/buffer.c | |
| parent | 2e0947abbc384a55411880c6d49020b43fe8b5f5 (diff) | |
| download | emacs-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