Re: Relying on exceptions in fuzz tests?
Keith Jeffery <[email protected]>
| Newsgroups | gmane.comp.video.openexr.devel |
|---|---|
| Message-ID | <CABrGZNdZFDCf8+uhwdfgEMGZjzmmCjOdEfjZ4-2F5gz45CeJvQ@mail.gmail.com> |
This is a fair assumption, in lines with the C++ standard. Calls to the new operator and operator new throw if the memory cannot be allocated, unless the std::nothrow overloaded versions are used. Any custom allocators should follow the precedence laid out by the standard. On Wed, May 28, 2014 at 11:57 PM, Peter Hillman <[email protected]> wrote: > > It seems like the OpenEXR library does rather assume that calls to 'new' > etc will throw exceptions if they fail, rather than nullptr testing. This > is in the library itself, rather than the fuzz tests. > > _______________________________________________ Openexr-devel mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/openexr-devel