Closed Bug 1747514 Opened 2 years ago Closed 2 years ago

Crash in nsExpatDriver::WillBuildModel

Categories

(Core :: Security: RLBox, defect)

defect

Tracking

()

RESOLVED FIXED
97 Branch
Tracking Status
firefox96 + fixed
firefox97 --- fixed

People

(Reporter: bholley, Assigned: bholley)

References

(Blocks 1 open bug, Regressed 1 open bug)

Details

Crash Data

Attachments

(3 files)

Crash Signature: nsExpatDriver::WillBuildModel → [ nsExpatDriver::WillBuildModel ]
Crash Signature: [ nsExpatDriver::WillBuildModel ] → [@ nsExpatDriver::WillBuildModel ]

We were double-allocating in TransferBuffer, but that was canceling out
the fact that we were only half-copying.

Pushed by bholley@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/1fd2be5bdbf2
Fix some pointer arithmetic issues in RLBox. r=shravanrn
https://hg.mozilla.org/integration/autoland/rev/cd3ef51bafb9
Make RLBoxTransferBufferToSandbox properly fallible. r=shravanrn
https://hg.mozilla.org/integration/autoland/rev/95ced5795758
Ensure the expat sandbox is large enough to hold the base URI. r=shravanrn,deian
See Also: → 1744460

The patch landed in nightly and beta is affected.
:bholley, is this bug important enough to require an uplift?
If not please set status_beta to wontfix.

For more information, please visit auto_nag documentation.

Flags: needinfo?(bholley)

Comment on attachment 9256763 [details]
Bug 1747514 - Ensure the expat sandbox is large enough to hold the base URI.

Beta/Release Uplift Approval Request

  • User impact if declined: Crashes.
  • 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): Patches are small, fix some clear and well-understood bugs.
  • String changes made/needed:
Flags: needinfo?(bholley)
Attachment #9256763 - Flags: approval-mozilla-beta?
Attachment #9256794 - Flags: approval-mozilla-beta?
Attachment #9256795 - Flags: approval-mozilla-beta?

Comment on attachment 9256763 [details]
Bug 1747514 - Ensure the expat sandbox is large enough to hold the base URI.

Approved for 96.0b10

Attachment #9256763 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
Attachment #9256794 - Flags: approval-mozilla-beta? → approval-mozilla-beta+

Comment on attachment 9256795 [details]
Bug 1747514 - Make RLBoxTransferBufferToSandbox properly fallible.

Approved for 96.0b10

Attachment #9256795 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
Regressions: 1747925
Blocks: 1754343
Blocks: 1758626
Regressions: 1801964
Depends on: 1861332
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: