OSS-Fuzz: Fix fuzz-sip-transaction to avoid network sending#4849
Merged
sauwming merged 3 commits intopjsip:masterfrom Mar 13, 2026
Merged
OSS-Fuzz: Fix fuzz-sip-transaction to avoid network sending#4849sauwming merged 3 commits intopjsip:masterfrom
sauwming merged 3 commits intopjsip:masterfrom
Conversation
Signed-off-by: Arthur Chan <arthur.chan@adalogics.com>
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates the fuzz-sip-transaction OSS-Fuzz target to avoid triggering actual SIP transaction sends, which can attempt network operations and cause assertions in environments without network connectivity.
Changes:
- Stop sending messages via
pjsip_tsx_send_msg()in both UAS and UAC fuzz paths. - Keep exercising message/transaction creation while ensuring objects are cleaned up via termination and refcount release.
You can also share your feedback on Copilot code review. Take the survey.
Signed-off-by: Arthur Chan <arthur.chan@adalogics.com>
nanangizz
added a commit
that referenced
this pull request
Mar 12, 2026
Add -std=gnu89 -Werror=declaration-after-statement to the default-build CI jobs (Linux and macOS) to catch C99-style mixed declarations and code. Fix all existing violations in the codebase. Co-Authored-By: Claude Code
Signed-off-by: Arthur Chan <arthur.chan@adalogics.com>
sauwming
approved these changes
Mar 12, 2026
Member
|
Just FYI, there is a loopback SIP transport that works without using network connectivity. |
nanangizz
approved these changes
Mar 13, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR fixes fuzz-sip-transaction to prevent the fuzzer from attempting network operations that cause assertion failures, as OSS-Fuzz does not support network connectivity.