Bug 844007 - PL_strcmp works only if the string is null-terminated. r=hsivonen. a=lsblakk