Skip to content

OSS-Fuzz: Add new fuzzer/corpus/dict targets config handling - #183

Merged
sobomax merged 4 commits into
sippy:masterfrom
arthurscchan:rtpproxy-config-fuzzer
Nov 15, 2026
Merged

sobomax merged 4 commits into
sippy:masterfrom
arthurscchan:rtpproxy-config-fuzzer

Conversation

@arthurscchan

Copy link
Copy Markdown
Contributor

This PR creates a new OSS-Fuzz fuzzer with corpus/dict targets config handling, aiming to improve fuzzing coverage and effectiveness of project rtpproxy.

arthurscchan and others added 4 commits November 15, 2026 14:37
ucl_object_key() returns NULL for elements that are not members of an
object, e.g. when the config root or the "modules" section is an array.
rtpp_cfile_process(), parse_modules() and conf_helper_mapper() passed
that NULL straight into strcasecmp(), crashing the new fuzz_config_file
target (CIFuzz address/undefined/memory: SEGV in strcasecmp at
rtpp_cfile.c:116, reproducer: "[1,2]").

Require the config root, the "modules" section and each module section
to be objects, and guard against NULL keys.
Import parser error-path leak fixes already merged into the libucl fork.
Add config_types/confval1 to the serial test suite. It runs rtpproxy with
configurations whose config root, "modules" section or module section is
not an object (arrays and scalars). These used to reach strcasecmp() with
a NULL key and crash; each must now be rejected with a nonzero exit status
below 128, and not by a sanitizer deadly-signal report.
@sobomax
sobomax force-pushed the rtpproxy-config-fuzzer branch from f4e3626 to 5333e15 Compare November 15, 2026 21:38
@sobomax
sobomax merged commit 11647ea into sippy:master Nov 15, 2026
@sobomax

sobomax commented Nov 15, 2026

Copy link
Copy Markdown
Member

@arthurscchan, thank you for contribution! The new configuration fuzzer helped uncover and fix NULL-key crashes and libucl parser leaks. Added regression coverage and merged via rebase.

@arthurscchan
arthurscchan deleted the rtpproxy-config-fuzzer branch November 19, 2026 11:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants