Previously passing str1 and str2 set to NULL did not crash as str1 and str2 compared equals as pointers and the functions returned true without accessing *str1 or *str2. In turn it allowed for the regression from bug 311515 causing this bug to survive much longer then it should. r=brendan. git-svn-id: svn://10.0.0.236/trunk@192597 18797224-902f-48f8-a5cc-f745e15eee43