-
Notifications
You must be signed in to change notification settings - Fork 19
Description
Hello,
Our static analyses found a following potential NPE:
-
Return null to caller
smtinterpol/Library-SMTLIB/src/de/uni_freiburg/informatik/ultimate/logic/Theory.java
Line 1579 in 828ec76
return null; -
Return the return value of function term to caller
smtinterpol/SMTInterpol/src/de/uni_freiburg/informatik/ultimate/smtinterpol/dpll/Clause.java
Line 292 in 828ec76
return theory.term("or", args); -
Function toTerm executes and stores the return value to res (res can be null)
Line 75 in 828ec76
final Term res = cls.toTerm(theory); -
res is used as the 2nd parameter in function annotatedTerm (res can be null)
Line 79 in 828ec76
.annotatedTerm( -
sub is used as the 2nd parameter in function hashAnnotations (sub can be null)
smtinterpol/Library-SMTLIB/src/de/uni_freiburg/informatik/ultimate/logic/Theory.java
Line 1671 in 828ec76
final int hash = AnnotatedTerm.hashAnnotations(annots, sub); -
subTerm is passed as the this pointer to function hashCode (subTerm can be null)
smtinterpol/Library-SMTLIB/src/de/uni_freiburg/informatik/ultimate/logic/AnnotatedTerm.java
Line 70 in 828ec76
HashUtils.hashJenkins(subTerm.hashCode(), (Object[])annots);
Commit: 828ec76