Relying on exceptions in fuzz tests?

Christopher Horvath <[email protected]>
Newsgroups gmane.comp.video.openexr.devel
Message-ID <CAHJ4w5qu-taCE=QdEEP=3z7A0YT54sOrLZ7339=2FNmoXbxfAQ@mail.gmail.com>
Hey Folks,

It seems like some of the fuzz tests are explicitly attempting to fail by
creating large allocations and catching exceptions from failed memory
allocations.  If you're working with a malloc library that has exceptions
turned off, this causes crashes...

Is this the correct interpretation of how fuzzScanLines & fuzzFile is
intended to work?

This seems to be testing that malloc throws correctly - which in my case,
it does not - I just want to make sure I can feel comfortable turning these
fuzz tests off for the future.

Chris

-- 
I think this situation absolutely requires that a really futile and stupid
gesture be done on somebody's part. And we're just the guys to do it.

_______________________________________________
Openexr-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/openexr-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.