Open
Bug 1429281
Opened 8 years ago
Updated 4 years ago
nsPipeInputStream::Search can dereference a null pointer
Categories
(Core :: XPCOM, defect)
Core
XPCOM
Tracking
()
NEW
| Tracking | Status | |
|---|---|---|
| firefox59 | --- | affected |
People
(Reporter: emk, Unassigned)
Details
Steps to reproduce:
var pipe = Cc["@mozilla.org/pipe;1"].createInstance(Ci.nsIPipe);
pipe.init(true, true, 0, 0xffffffff, null);
pipe.inputStream.search(null, false, {}, {});
Actual result:
bp-71cf729f-be02-4a41-8482-e63e11180110
https://hg.mozilla.org/releases/mozilla-release/annotate/afa87f9be3a8/xpcom/io/nsPipe3.cpp#l1571
Expected result:
Should not crash.
Updated•4 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•