National Institute of Standards and Technology
Package illustrating a test case

Test case 154414

Description

This test takes a string. It locks a lock upon encountering the first a/A in the string, using one lock for lower case a and a different lock for upper case A. Upon encountering a second a/A in the string, it unlocks the lower case lock. If an A appears before an a, then the lock is unlocked without previously being locked, resulting in an exception.
Metadata
- Base program: Apache Lenya
- Source Taint: ENVIRONMENT_VARIABLE
- Data Type: ARRAY
- Data Flow: INDEX_ALIAS_1
- Control Flow: INTERCLASS_2

Flaws

Test Suites

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