Issue metadata
Sign in to add a comment
|
Potential null pointer exception
Reported by
wangsong...@gmail.com,
Dec 4 2017
|
||||||||||||||||||||
Issue description
UserAgent: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.94 Safari/537.36
Steps to reproduce the problem:
Our tool DeepTect detect a potential null pointer exception in /base/android/java/src/org/chromium/base/library_loader/Linker.java
There is a potential null pointer exception:
if (sSingleton == null) {
setImplementationForTesting(type);
sSingleton.setTestRunnerClassNameForTesting(testRunnerClassName);
return;
}
If "sSingleton" is equal to null, there is a null point exception when it calls the method "setTestRunnerClassNameForTesting" inside the if statement.
What is the expected behavior?
What went wrong?
/base/android/java/src/org/chromium/base/library_loader/Linker.java
There is a potential null pointer exception:
if (sSingleton == null) {
setImplementationForTesting(type);
sSingleton.setTestRunnerClassNameForTesting(testRunnerClassName);
return;
}
If "sSingleton" is equal to null, there is a null point exception when it calls the method "setTestRunnerClassNameForTesting" inside the if statement.
Did this work before? N/A
Chrome version: 62.0.3202.94 Channel: stable
OS Version: 6.1 (Windows 7, Windows Server 2008 R2)
Flash Version:
,
Jan 17 2018
Hi krajshree@chromium.org, do you have any updates on the issue now? Thank you very much!
,
Jan 17
(6 days ago)
Issue has not been modified or commented on in the last 365 days, please re-open or file a new bug if this is still an issue. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot |
|||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||
Comment 1 by krajshree@chromium.org
, Dec 4 2017Labels: Needs-Triage-M62 Triaged-ET TE-NeedsTriageHelp