Closed Bug 1208892 Opened 10 years ago Closed 10 years ago

Replace the uses of memset to clean up data in GMPLoader::Load with an inline memset

Categories

(Core :: Audio/Video, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla44
Tracking Status
firefox44 --- fixed

People

(Reporter: ehsan.akhgari, Unassigned)

References

Details

Attachments

(1 file)

This is found by Viva64. Because the data we're memsetting to 0 may not be used after this point, the compiler can eliminate the memsets. We need to roll our own inline memset that cannot be optimized away.
Comment on attachment 8666511 [details] [diff] [review] Replace the uses of memset to clean up data in GMPLoader::Load with an inline memset Review of attachment 8666511 [details] [diff] [review]: ----------------------------------------------------------------- Thanks for the patch!
Attachment #8666511 - Flags: review?(cpearce) → review+
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla44
Blocks: 710966
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: