[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Openexr-devel] Relying on exceptions in fuzz tests?
From: |
Bob Friesenhahn |
Subject: |
Re: [Openexr-devel] Relying on exceptions in fuzz tests? |
Date: |
Thu, 29 May 2014 08:55:27 -0500 (CDT) |
User-agent: |
Alpine 2.01 (GSO 1266 2009-07-14) |
On Thu, 29 May 2014, Peter Hillman 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.
Isn't that what the C++ standard has always said that 'new' should do?
Hardly any modern C++ code (including the standard C++ library) will
work properly if new does not throw an exception on failure to
allocate memory.
It seems best to fix/replace the broken compiler.
Bob
--
Bob Friesenhahn
address@hidden, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer, http://www.GraphicsMagick.org/
- [Openexr-devel] Relying on exceptions in fuzz tests?, Christopher Horvath, 2014/05/28
- Re: [Openexr-devel] Relying on exceptions in fuzz tests?, Nick, 2014/05/28
- Re: [Openexr-devel] Relying on exceptions in fuzz tests?, Peter Hillman, 2014/05/29
- Re: [Openexr-devel] Relying on exceptions in fuzz tests?,
Bob Friesenhahn <=
- Re: [Openexr-devel] Relying on exceptions in fuzz tests?, Keith Jeffery, 2014/05/29
- Re: [Openexr-devel] Relying on exceptions in fuzz tests?, Chris Cox, 2014/05/29
- Re: [Openexr-devel] Relying on exceptions in fuzz tests?, Christopher Horvath, 2014/05/29
- Re: [Openexr-devel] Relying on exceptions in fuzz tests?, Piotr Stanczyk, 2014/05/29
- Re: [Openexr-devel] Relying on exceptions in fuzz tests?, Piotr Stanczyk, 2014/05/29
- Re: [Openexr-devel] Relying on exceptions in fuzz tests?, Christopher Horvath, 2014/05/29
- Re: [Openexr-devel] Relying on exceptions in fuzz tests?, Brendan Bolles, 2014/05/29
- Re: [Openexr-devel] Relying on exceptions in fuzz tests?, Christopher Horvath, 2014/05/29
- Re: [Openexr-devel] Relying on exceptions in fuzz tests?, Brendan Bolles, 2014/05/29
- Re: [Openexr-devel] Relying on exceptions in fuzz tests?, Peter Hillman, 2014/05/29