Closed
Bug 1270247
Opened 9 years ago
Closed 9 years ago
Crash in ParamTraits<mozilla::net::NetAddr>::Write instead of sending a malformed message
Categories
(Core :: Networking, defect)
Core
Networking
Tracking
()
RESOLVED
FIXED
mozilla49
People
(Reporter: mccr8, Assigned: mccr8)
References
Details
(Whiteboard: [necko-active])
Attachments
(2 files)
1.33 KB,
patch
|
u408661
:
review+
|
Details | Diff | Splinter Review |
1.64 KB,
patch
|
u408661
:
review+
|
Details | Diff | Splinter Review |
In bug 1259192, Kan-ru pointed out that we should crash while writing a NetAddr, rather than sending off a truncated message that will cause the receiver to crash. At least in the former case, we may be able to get crash information about what is going wrong.
Assignee | ||
Updated•9 years ago
|
Assignee: nobody → continuation
Updated•9 years ago
|
Whiteboard: [necko-active]
Assignee | ||
Comment 1•9 years ago
|
||
I'm doing a try push just in case: https://treeherder.mozilla.org/#/jobs?repo=try&revision=6adef0c838df
Attachment #8748851 -
Flags: review?(hurley)
Comment on attachment 8748851 [details] [diff] [review]
Crash in ParamTraits<mozilla::net::NetAddr>::Write if the family is unknown.
Review of attachment 8748851 [details] [diff] [review]:
-----------------------------------------------------------------
The socket family that no one expected (and is undocumented?), apparently... ugh.
Attachment #8748851 -
Flags: review?(hurley) → review+
Comment 3•9 years ago
|
||
(In reply to Nicholas Hurley [:nwgh][:hurley] from comment #2)
> Comment on attachment 8748851 [details] [diff] [review]
> Crash in ParamTraits<mozilla::net::NetAddr>::Write if the family is unknown.
>
> Review of attachment 8748851 [details] [diff] [review]:
> -----------------------------------------------------------------
>
> The socket family that no one expected (and is undocumented?), apparently...
> ugh.
I would like to know what it is :)
Comment 5•9 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla49
Assignee | ||
Comment 6•9 years ago
|
||
Attachment #8751778 -
Flags: review?(hurley)
Assignee | ||
Updated•9 years ago
|
tracking-e10s:
--- → ?
Comment on attachment 8751778 [details] [diff] [review]
part 2 - Add crash annotation for unknown socket family.
Review of attachment 8751778 [details] [diff] [review]:
-----------------------------------------------------------------
I fully look forward to this being a socket family that isn't #define'd anywhere, on any system, ever :)
Attachment #8751778 -
Flags: review?(hurley) → review+
Comment 9•9 years ago
|
||
bugherder |
You need to log in
before you can comment on or make changes to this bug.
Description
•