National Institute of Standards and Technology
Package illustrating a test case

Test case 150016


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.
- Base program: Subversion
- Source Taint: FILE_CONTENTS
- Data Type: SIMPLE
- Data Flow: BASIC


Test Suites


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