summaryrefslogtreecommitdiff
path: root/include/ftw.h
diff options
context:
space:
mode:
authorSzabolcs Nagy <nsz@port70.net>2023-02-03 23:10:17 +0100
committerRich Felker <dalias@aerifal.cx>2023-02-12 17:41:23 -0500
commit7e6da7ac98efdc8167ed2d109298ba232a9a7ba3 (patch)
tree776606dd8b1f51d743a4808b2ae89ee600ebd437 /include/ftw.h
parentf79b973d92a322800b3e8411ccc95db280d997ae (diff)
downloadmusl-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