]> git.ipfire.org Git - thirdparty/systemd.git/commit
hexdecoct: fix NULL pointer dereferences in hexmem()
authorYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 7 Dec 2022 00:06:48 +0000 (09:06 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 8 Dec 2022 19:55:47 +0000 (04:55 +0900)
commit7d34567444304ea0acec7ed3c44c09bb65cea32c
tree00c2f45ef012593b645706577d969128fd7fcae3
parent45655e776f3a4deaf68cc21a7716eba5181cbd49
hexdecoct: fix NULL pointer dereferences in hexmem()

Fixes oss-fuzz#54090 (https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=54090).

Fixes #25655.
src/basic/hexdecoct.c
src/test/test-hexdecoct.c
test/fuzz/fuzz-resource-record/oss-fuzz-54090 [new file with mode: 0644]