openexr-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Openexr-devel] Relying on exceptions in fuzz tests?


From: Keith Jeffery
Subject: Re: [Openexr-devel] Relying on exceptions in fuzz tests?
Date: Thu, 29 May 2014 09:17:47 -0700

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 <address@hidden> 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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]