This test takes a number and attempts to determine whether it is prime by dividing it by each number less than it. For large enough prime integers, this calculation takes an excessive amount of time.
- Base program: Apache Jena
- Source Taint: SOCKET
- Data Type: SIMPLE
- Data Flow: ADDRESS_AS_CONSTANT
- Control Flow: FUNCTION_INVOCATION_OVERLOAD
Have any comments on this test case? Please, send us an email.