Closed Bug 1165792 Opened 10 years ago Closed 10 years ago

Check return value of FallibleTArray functions in MediaRawData.cpp

Categories

(Core :: Audio/Video, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla41
Tracking Status
firefox41 --- fixed

People

(Reporter: birunthan, Assigned: birunthan)

References

Details

Attachments

(1 file)

As discussed on IRC, unchecked FallibleTArray functions will cause warnings when bug 968520.
Comment on attachment 8606842 [details] [diff] [review] Wrap FallibleTArray functions with MOZ_ALWAYS_TRUE in MediaRawData.cpp Review of attachment 8606842 [details] [diff] [review]: ----------------------------------------------------------------- I thought I had put a comment explaining why it could never fail. But that is missing. r=me with a one-line comment stating that those can't fail as EnsureSize() is always called first.
Attachment #8606842 - Flags: review?(jyavenard) → review+
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla41
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: