AttackFlow Findings Dictionary

Finding A Way To Try AttackFlow Enterprise Edition?

If so, click to download 15 days full version for free!

Incorrect String Comparison

The == comparison operator for String almost always returns false

Severity

Low

Fix Cost

Low

Trust Level

Medium

== and != operators are used to compare equalities. However, when used with String operands, which are objects, the reference equality is checked instead of content equality.

            
String a = “This is a string”;
String b = “This is a string”;
if(a == b) // always calculated to false 
{
...
}
                 
            

== and != operators are used to compare equalities. However, when used with String operands, which are objects, the reference equality is checked instead of content equality.

            
String a = “This is a string”;
String b = “This is a string”;
if(a == b) // always calculated to false 
{
  ...
}
                 
            

Finding A Way To Purchase AttackFlow Enterprise Edition?

If so, click to buy now for yearly subscriptions!