]
Norman Richards reassigned JBSEAM-3790:
---------------------------------------
Assignee: Norman Richards (was: Shane Bryzak)
Missing nullcheck in org.jboss.seam.core.Validators.equals
----------------------------------------------------------
Key: JBSEAM-3790
URL:
https://jira.jboss.org/jira/browse/JBSEAM-3790
Project: Seam
Issue Type: Bug
Reporter: Francisco Jose Peredo Noguez
Assignee: Norman Richards
Fix For: 2.1.2.CR1
Attachments: patch.txt, patch.txt
In
@Override
public boolean equals(Object other)
{
Key key = (Key) other;
return key.validatableClass.equals(validatableClass) &&
key.locale.equals(locale);
}
If the parameter other is null, the line return key.validatableClass... will crash with
null pointer exception.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: