National Institute of Standards and Technology
Package illustrating a test case

Test case 149967

Description

This test case implements a non-reentrant function that is called by a signal handler. The test case takes a control file and input string as input. The control file is used for timing and the input string is used as data for the test case to manipulate. The test case assigns a signal handler that calls a non-reentrant function that locks a mutex lock and manipulates the input data. If the test case is currently executing the non-reentrant function when the signal handler is called, it will re-enter the function and deadlock on the call to lock the mutex.
Metadata
- Base program: Subversion
- Source Taint: ENVIRONMENT_VARIABLE
- Data Type: VOID_POINTER
- Data Flow: ADDRESS_AS_LINEAR_EXPRESSION
- Control Flow: POINTER_TO_FUNCTION

Flaws

Test Suites

Documentation

Have any comments on this test case? Please, send us an email.