kernel/eka/compsupp/aehabi/Readme
author John Imhofe
Mon, 19 Oct 2009 15:55:17 +0100
changeset 0 a41df078684a
permissions -rw-r--r--
Convert Kernelhwsrv package from SFL to EPL kernel\eka\compsupp is subject to the ARM EABI LICENSE userlibandfileserver\fatfilenameconversionplugins\unicodeTables is subject to the Unicode license kernel\eka\kernel\zlib is subject to the zlib license

Exceptions library release 1.01.

This source code is intended to be compliant with release 1.0 of the EHABI. 

The following defects against the previous (1.0) release have been fixed:

1) The personality routines were checking handler table entry descriptor
ranges using virtual r14 not virtual r15. Consequently if the entry contained
two or more descriptors with matching ranges, and the first was a cleanup,
subsequent descriptors would incorrectly fail the range check because the
cleanup code legitimately corrupted r14 (and hence virtual r14; virtual r15
is preserved).

2) The runtime library would call abort() instead of terminate() under this
sequence of events:
i)   The program installs an unexpected exception handler (set_unexpected(...)).
ii)  A throw of type T violates a function exception specification, causing
     unexpected() to be called and the user's handler to be entered.
iii) The handler throws another exception of type T.

3) Type matching when throwing a NULL pointer to pointer to T (any type T)
could dereference down the "pointer" chain beginning at location 0 (=NULL),
hence possibly accessing any location in memory.