Closed
Bug 970159
Opened 11 years ago
Closed 11 years ago
media/webrtc/signaling/src/sipcc/core/sdp/sdp_attr_access.c:12537:9 [enabled by default] return makes integer from pointer without a cast
Categories
(Core :: WebRTC: Signaling, defect)
Tracking
()
RESOLVED
FIXED
mozilla30
Tracking | Status | |
---|---|---|
firefox29 | --- | unaffected |
firefox30 | --- | fixed |
People
(Reporter: cpeterson, Assigned: cpeterson)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
1.09 KB,
patch
|
jesup
:
review+
|
Details | Diff | Splinter Review |
This is a gcc 4.6 warning on Android.
Attachment #8373107 -
Flags: review?(rjesup)
Comment 1•11 years ago
|
||
Comment on attachment 8373107 [details] [diff] [review]
return-0-not-NULL.patch
Review of attachment 8373107 [details] [diff] [review]:
-----------------------------------------------------------------
canceling review: I can't find the code that this is modifying. Inbound has so such function or code. Is this against Aurora or Beta?
I can probably r+ on principle given the apparent signature, if the code exists. It's hard to be sure when the code doesn't seem to be in the tree.
Attachment #8373107 -
Flags: review?(rjesup)
Assignee | ||
Comment 2•11 years ago
|
||
Comment on attachment 8373107 [details] [diff] [review]
return-0-not-NULL.patch
Randell: here is a link to the function in mozilla-central:
https://hg.mozilla.org/mozilla-central/file/ecf20a2484b6/media/webrtc/signaling/src/sipcc/core/sdp/sdp_attr_access.c#l12537
Attachment #8373107 -
Flags: review?(rjesup)
Comment 3•11 years ago
|
||
Comment on attachment 8373107 [details] [diff] [review]
return-0-not-NULL.patch
Review of attachment 8373107 [details] [diff] [review]:
-----------------------------------------------------------------
r+ - my tree was out of date and this was newly landed code
I'm not in love with the return of a magic value for failure (without a #define) in an API, but that was an issue for the original review. (or a new one)
Attachment #8373107 -
Flags: review+
Updated•11 years ago
|
Attachment #8373107 -
Flags: review?(rjesup)
Assignee | ||
Comment 4•11 years ago
|
||
status-firefox29:
--- → unaffected
status-firefox30:
--- → fixed
Comment 5•11 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla30
You need to log in
before you can comment on or make changes to this bug.
Description
•