Closed Bug 1848369 Opened 10 months ago Closed 10 months ago

Add checksum to Stencil XDR content

Categories

(Core :: JavaScript Engine, task, P1)

task

Tracking

()

RESOLVED FIXED
118 Branch
Tracking Status
firefox-esr115 --- fixed
firefox117 --- fixed
firefox118 --- fixed

People

(Reporter: arai, Assigned: arai)

References

(Blocks 2 open bugs)

Details

Attachments

(2 files, 2 obsolete files)

in order to detect disk or in-memory data corruption in more case, it's better adding checksum to Stencil XDR content itself, regardless of whether the container has it or not.

Pushed by arai_a@mac.com:
https://hg.mozilla.org/integration/autoland/rev/21d4799cb89f
Add checksum to Stencil XDR content. r=nbp
Blocks: 1848465
Status: ASSIGNED → RESOLVED
Closed: 10 months ago
Resolution: --- → FIXED
Target Milestone: --- → 118 Branch
Attachment #9348703 - Attachment is obsolete: true

Comment on attachment 9348608 [details]
Bug 1848369 - Add checksum to Stencil XDR content. r?nbp!

Beta/Release Uplift Approval Request

  • User impact if declined: Possible tab crash when data corruption happens in the bytecode cache , either on memory or on disk (bug 1848152)
  • Is this code covered by automated tests?: Yes
  • Has the fix been verified in Nightly?: No
  • Needs manual test from QE?: No
  • If yes, steps to reproduce:
  • List of other uplifts needed: None
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): This avoid release assertion failure and turns the issue into runtime error. the runtime error path is already tested by regular syntax error in large file.
  • String changes made/needed:
  • Is Android affected?: Yes

ESR Uplift Approval Request

  • If this is not a sec:{high,crit} bug, please state case for ESR consideration: crash volume is slightly high (bug 1848152)
  • User impact if declined: Possible tab crash when data corruption happens in the bytecode cache , either on memory or on disk (bug 1848152)
  • Fix Landed on Version: 118
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): This avoid release assertion failure and turns the issue into runtime error. the runtime error path is already tested by regular syntax error in large file.
Attachment #9348608 - Flags: approval-mozilla-release?
Attachment #9348608 - Flags: approval-mozilla-esr115?
Attachment #9348608 - Flags: approval-mozilla-beta?

Comment on attachment 9348608 [details]
Bug 1848369 - Add checksum to Stencil XDR content. r?nbp!

Approved for 117.0b7. I don't think this needs to ride along in a dot release, however.

Attachment #9348608 - Flags: approval-mozilla-release?
Attachment #9348608 - Flags: approval-mozilla-release-
Attachment #9348608 - Flags: approval-mozilla-beta?
Attachment #9348608 - Flags: approval-mozilla-beta+

Comment on attachment 9348608 [details]
Bug 1848369 - Add checksum to Stencil XDR content. r?nbp!

Actually, this needs rebasing for Beta uplift. Please attach a rebased patch for ESR115 also before re-requesting approval.

Flags: needinfo?(arai.unmht)
Attachment #9348608 - Flags: approval-mozilla-release-
Attachment #9348608 - Flags: approval-mozilla-esr115?
Attachment #9348608 - Flags: approval-mozilla-beta+
Flags: needinfo?(arai.unmht)
Attachment #9348792 - Flags: approval-mozilla-esr115?
Attachment #9348792 - Flags: approval-mozilla-beta?

Comment on attachment 9348792 [details]
Bug 1848369 - Add checksum to Stencil XDR content. r?nbp!

Approved for 117.0b8 and 115.2esr.

Attachment #9348792 - Flags: approval-mozilla-esr115?
Attachment #9348792 - Flags: approval-mozilla-esr115+
Attachment #9348792 - Flags: approval-mozilla-beta?
Attachment #9348792 - Flags: approval-mozilla-beta+
Attachment #9348792 - Flags: approval-mozilla-esr115+

Comment on attachment 9349085 [details]
Bug 1848369 - Add checksum to Stencil XDR content. r?nbp!

ESR Uplift Approval Request

  • If this is not a sec:{high,crit} bug, please state case for ESR consideration:
  • User impact if declined:
  • Fix Landed on Version:
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky):
Flags: needinfo?(arai.unmht)
Attachment #9349085 - Flags: approval-mozilla-esr115?
Attachment #9348792 - Attachment is obsolete: true

Comment on attachment 9349085 [details]
Bug 1848369 - Add checksum to Stencil XDR content. r?nbp!

Approved for 115.2esr.

Attachment #9349085 - Flags: approval-mozilla-esr115? → approval-mozilla-esr115+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: