cgif: enable memory sanitizer (#9582)

Enable memory sanitizer for [cgif](https://github.com/dloebl/cgif). I
already found one small issue testing it locally (timeout crash reported
by oss-fuzz):

```
$ ./build/fuzz/cgif_fuzzer_standalone clusterfuzz-testcase-cgif_fuzzer-6560939899224064

==26604==WARNING: MemorySanitizer: use-of-uninitialized-value
    #0 0x7f6a00f022ba  (/home/dbl/projects/cgif/build/fuzz/../libcgif.so.0+0x162ba) (BuildId: 41f9aa2f4c1d42966ca54004a6e73b2e1bb38d78)
   [...]
SUMMARY: MemorySanitizer: use-of-uninitialized-value (/home/dbl/projects/cgif/build/fuzz/../libcgif.so.0+0x162ba) (BuildId: 41f9aa2f4c1d42966ca54004a6e73b2e1bb38d78) 
Exiting
```

Fixed with https://github.com/dloebl/cgif/pull/57.
This commit is contained in:
Daniel Löbl 2023-02-06 11:15:28 +01:00 committed by GitHub
parent 23e7c58e78
commit b4f7c414e6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -3,6 +3,10 @@ language: c
primary_contact: "dloebl.2000@gmail.com"
auto_ccs:
- "matthias.loebl@rwth-aachen.de"
sanitizers:
- address
- undefined
- memory
architectures:
- x86_64
- i386