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)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla49
Tracking Status
e10s ? ---
firefox49 --- fixed

People

(Reporter: mccr8, Assigned: mccr8)

References

Details

(Whiteboard: [necko-active])

Attachments

(2 files)

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: nobody → continuation
Whiteboard: [necko-active]
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+
(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 :)
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla49
Depends on: 1271888
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+
Depends on: 1368561
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: