commit | 7e6da7ac98efdc8167ed2d109298ba232a9a7ba3 | [log] [tgz] |
---|---|---|
author | Szabolcs Nagy <nsz@port70.net> | Fri Feb 03 23:10:17 2023 +0100 |
committer | Rich Felker <dalias@aerifal.cx> | Sun Feb 12 17:41:23 2023 -0500 |
tree | 776606dd8b1f51d743a4808b2ae89ee600ebd437 | |
parent | f79b973d92a322800b3e8411ccc95db280d997ae [diff] |
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.