diff options
author | Szabolcs Nagy <nsz@port70.net> | 2023-02-03 23:10:17 +0100 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2023-02-12 17:41:23 -0500 |
commit | 7e6da7ac98efdc8167ed2d109298ba232a9a7ba3 (patch) | |
tree | 776606dd8b1f51d743a4808b2ae89ee600ebd437 /include/ftw.h | |
parent | f79b973d92a322800b3e8411ccc95db280d997ae (diff) | |
download | musl-7e6da7ac98efdc8167ed2d109298ba232a9a7ba3.tar.gz musl-7e6da7ac98efdc8167ed2d109298ba232a9a7ba3.tar.bz2 musl-7e6da7ac98efdc8167ed2d109298ba232a9a7ba3.tar.xz musl-7e6da7ac98efdc8167ed2d109298ba232a9a7ba3.zip |
hsearch: fix null pointer arithmetic UB
htab->__tab->entries pointer may be 0 so delay using it in arithmetics.
this did not cause any known issue other than with ubsan instrumentation.
Diffstat (limited to 'include/ftw.h')
0 files changed, 0 insertions, 0 deletions