summaryrefslogtreecommitdiff
path: root/java/org/gnu/emacs/EmacsDialogButtonLayout.java
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2026-05-17 22:49:44 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2026-05-18 23:10:42 -0700
commit07fe0b297bc7b9c4e344eedd8244a73edda95c77 (patch)
treea444012254289167cc0ea12e3ca5654876dd8fa2 /java/org/gnu/emacs/EmacsDialogButtonLayout.java
parent7587bb2654a6c22f8c9709cefd3ad8d45938b199 (diff)
Fix undefined behavior in maybe_resize_hash_table
Problem discovered with GCC 16.1.1 -fsanitize=undefined. * src/fns.c (maybe_resize_hash_table): Avoid undefined behavior when h->key_and_value or h->hash are null pointers, in which case we call memcpy (destination, NULL, 0) which has undefined behavior in C89 through C23.
Diffstat (limited to 'java/org/gnu/emacs/EmacsDialogButtonLayout.java')
0 files changed, 0 insertions, 0 deletions