Skip to content

oss-fuzz: remove callout_count#882

Open
carenas wants to merge 1 commit intoPCRE2Project:mainfrom
carenas:main
Open

oss-fuzz: remove callout_count#882
carenas wants to merge 1 commit intoPCRE2Project:mainfrom
carenas:main

Conversation

@carenas
Copy link
Contributor

@carenas carenas commented Feb 12, 2026

This could be used as an "alternative solution" for the issue referred in #881

Posted as a draft, as it hasn't been even tested and I have no access to that issue to confirm it actually "solves" it

not really needed and has been reported as problematic[1]

[1] https://issues.oss-fuzz.com/issues/478301105
@addisoncrump
Copy link
Contributor

The issue that it "solves" was actually unrelated to the reported fix. I was unable to find the corresponding issue that it claimed to solve, actually, so I expect it was hallucinated or corresponds to a testcase we otherwise don't see.

@addisoncrump
Copy link
Contributor

@oliverchang Can you provide additional context as to how #881 came about? I have made an assumption above, but I would hope that there is a corresponding issue you can point to.

@NWilson
Copy link
Member

NWilson commented Feb 14, 2026

The code you're removing here looks OK to me? If there is a crash, then we would ideally fix it rather than remove the test code.

@NWilson
Copy link
Member

NWilson commented Feb 14, 2026

For what it's worth, I wasn't able to reproduce this one.

(There was another OSS-Fuzz crash that's rather hard to exercise, on 32-bit CPUs only, and I have a fix I need to submit for that.)

@carenas carenas marked this pull request as ready for review February 14, 2026 17:23
Copy link
Contributor

@addisoncrump addisoncrump left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking over this, AFAICT this might increase the frequency of timeouts (though, presumably, the internal timeout mechanisms in PCRE2 have improved since this code was written) and we will not exercise callout functionality, which could be a testing blind spot but a fairly low-importance one. OSS-Fuzz will let us know if there are more issues, and this doesn't touch any user-facing code so there's no harm in experimenting a bit.

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.

3 participants