jbse icon indicating copy to clipboard operation
jbse copied to clipboard

Break recursion if checking if Null is simple

Open alessandropellegrini opened this issue 3 years ago • 1 comments

When checking whether a null object is Simple, a lacking check would generate infinite recursion in the method, causing a stack overflow in the symbolic executor.

I am anyhow not 100% confident that this patch is correct, so waiting for your feedback on this.

alessandropellegrini avatar Jul 22 '21 11:07 alessandropellegrini

The patch is not correct, and I am not sure the infinite recursion has anything to do with null values, but rather with circularities. Can you please provide a test case?

pietrobraione avatar Sep 02 '21 13:09 pietrobraione

Change rejected

pietrobraione avatar Sep 16 '22 21:09 pietrobraione