diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2018-06-01 07:04:45 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2018-06-05 08:49:56 +0200 |
commit | de9b7d712bf5da6593386fd4fbca0d5f8b8431d8 (patch) | |
tree | 0f5716349a3a50243bd24f2cb9eaed280d88e3e8 /testsuites/sptests/spfatal32/spfatal32.doc | |
parent | Update rtems_fatal_source_text() (diff) | |
download | rtems-de9b7d712bf5da6593386fd4fbca0d5f8b8431d8.tar.bz2 |
Add RTEMS_FATAL_SOURCE_INVALID_HEAP_FREE
An invalid heap usage such as a double free is usually a fatal error
since this indicates a use after free. Replace the use of printk() in
free() with a fatal error.
Update #3437.
Diffstat (limited to 'testsuites/sptests/spfatal32/spfatal32.doc')
-rw-r--r-- | testsuites/sptests/spfatal32/spfatal32.doc | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/testsuites/sptests/spfatal32/spfatal32.doc b/testsuites/sptests/spfatal32/spfatal32.doc new file mode 100644 index 0000000000..6d09b9579d --- /dev/null +++ b/testsuites/sptests/spfatal32/spfatal32.doc @@ -0,0 +1,12 @@ +This file describes the directives and concepts tested by this test set. + +test set name: spfatal32 + +directives: + + - free() + +concepts: + + - Provoke an invalid free of heap memory and ensure that the right fatal + source and code occurs. |