Restrict testcase size #11190
-
| Is there a way to restrict testcase sizes? My parser crashes on very big inputs. | 
Beta Was this translation helpful? Give feedback.
      
      
          Answered by
          
            DavidKorczynski
          
      
      
        Nov 6, 2023 
      
    
    Replies: 1 comment 1 reply
-
| A common way is having a guard in the harness itself, e.g. oss-fuzz/projects/zlib/compress_fuzzer.c Lines 63 to 64 in ab2a415 | 
Beta Was this translation helpful? Give feedback.
                  
                    1 reply
                  
                
            
      Answer selected by
        antonmedv
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
A common way is having a guard in the harness itself, e.g.
oss-fuzz/projects/zlib/compress_fuzzer.c
Lines 63 to 64 in ab2a415