From de9b7d712bf5da6593386fd4fbca0d5f8b8431d8 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Fri, 1 Jun 2018 07:04:45 +0200 Subject: 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. --- testsuites/sptests/spfatal32/spfatal32.doc | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 testsuites/sptests/spfatal32/spfatal32.doc (limited to 'testsuites/sptests/spfatal32/spfatal32.doc') 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. -- cgit v1.2.3