Skip to content

Increase timeout for quic-srtm fuzzer#14938

Merged
DavidKorczynski merged 1 commit intogoogle:masterfrom
nhorman:fix-srtm-timeout
Feb 18, 2026
Merged

Increase timeout for quic-srtm fuzzer#14938
DavidKorczynski merged 1 commit intogoogle:masterfrom
nhorman:fix-srtm-timeout

Conversation

@nhorman
Copy link
Copy Markdown
Contributor

@nhorman nhorman commented Feb 11, 2026

The quic-srtm fuzzer can run for quite some time in a single call to FuzzerTestOneInput. This occurs for two reasons:

  1. The input buffer is consumed only a few bytes at a time, using a
    single byte to determine a command to run, and just a few more as
    input data.

  2. The test mutates a hash table that can grow quite large based on the
    input data, and some commands iterate over the hash table multiple
    times. with each of two hash tables often growing to 4000-5000
    entries.

The sum total of this is that a single call to FuzzerTestOneInput may result in the function running for more than 60 secnods, triggering a timeout

So lets address that by...waiting longer. Up the timeout of the test to 120 seconds, which should be sufficient to complete an iteration.

This should address:
https://oss-fuzz.com/testcase-detail/4785309438246912

The quic-srtm fuzzer can run for quite some time in a single call to
FuzzerTestOneInput.  This occurs for two reasons:
1) The input buffer is consumed only a few bytes at a time, using a
   single byte to determine a command to run, and just a few more as
   input data.

2) The test mutates a hash table that can grow quite large based on the
   input data, and some commands iterate over the hash table multiple
   times. with each of two hash tables often growing to 4000-5000
   entries.

The sum total of this is that a single call to FuzzerTestOneInput may
result in the function running for more than 60 secnods, triggering a
timeout

So lets address that by...waiting longer.  Up the timeout of the test to
120 seconds, which should be sufficient to complete an iteration.

This should address:
https://oss-fuzz.com/testcase-detail/4785309438246912
@github-actions
Copy link
Copy Markdown

nhorman is either the primary contact or is in the CCs list of projects/openssl.
nhorman is a new contributor to projects/openssl. The PR must be approved by known contributors before it can be merged. The past contributors are: esyr, npajkovsky, andrewkdinh, vdukhovni, Sashan, bernd-edlinger, t-j-h, guidovranken, kroeckx

Copy link
Copy Markdown
Contributor

@Sashan Sashan left a comment

Choose a reason for hiding this comment

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

two minutes should be enough for everyone...

@DavidKorczynski DavidKorczynski merged commit 0438e37 into google:master Feb 18, 2026
17 checks passed
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.

4 participants