Closed Bug 1886953 Opened 11 months ago Closed 10 months ago

Introduce deCOMtaminated IDNA functions and benchmark them

Categories

(Core :: Networking: DNS, task, P2)

task

Tracking

()

RESOLVED FIXED
126 Branch
Tracking Status
firefox-esr115 --- wontfix
firefox124 --- wontfix
firefox125 --- wontfix
firefox126 --- fixed

People

(Reporter: hsivonen, Assigned: hsivonen)

References

(Blocks 1 open bug)

Details

(Keywords: sec-other, Whiteboard: [necko-triaged] [adv-main126-])

Attachments

(1 file)

To prepare for swapping in a different back end, add deCOMtaminated IDNA/UTS46 conversion functions (currently delegating to the XPCOM methods) and benchmark them.

The plan is to replace the implementations of these functions with an
ICU4X/Rust back end and then make the XPCOM versions call into these.

Migrating existing C++ callers is out of scope for this changeset.

Severity: -- → N/A
Priority: -- → P2
Whiteboard: [necko-triaged]
Blocks: 1815871
Pushed by hsivonen@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/05e59b9d620c Introduce deCOMtaminated IDNA functions and benchmark them r=necko-reviewers,valentin

Backed out for causing build bustages on nsStandardURL.h

  • Backout link
  • Push with failures
  • Failure Log
  • Failure line: /builds/worker/workspace/obj-build/dist/include/nsStandardURL.h:201:50: error: no viable conversion from returned value of type 'StaticRefPtr<nsIIDNService>' to function return type 'nsIIDNService *'
Flags: needinfo?(hsivonen)
Flags: needinfo?(hsivonen)

Try run with another trivial build fix for another non-unified failure:
https://treeherder.mozilla.org/jobs?repo=try&revision=21882d0ba2fb5b5cb5319795e656873fcd977e64

Pushed by hsivonen@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/870a2b89741b Introduce deCOMtaminated IDNA functions and benchmark them r=necko-reviewers,valentin

Backed out for causing gtest failures

Flags: needinfo?(hsivonen)

(In reply to Cristian Tuns from comment #7)

  • Failure line: SUMMARY: AddressSanitizer: global-buffer-overflow /builds/worker/workspace/obj-build/dist/include/nsStringIterator.h:49:36 in operator*

Filed as bug 1887815. Marking this bug security-sensitive for now.

Group: core-security
Flags: needinfo?(hsivonen)
Group: core-security → network-core-security

I'll mark this sec-other because the actual sec problem has bug 1887815 filed for it.

Depends on: 1887815
Keywords: sec-other
Pushed by hsivonen@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/8cf3c978bbf4 Introduce deCOMtaminated IDNA functions and benchmark them r=necko-reviewers,valentin
Group: network-core-security → core-security-release
Status: ASSIGNED → RESOLVED
Closed: 10 months ago
Resolution: --- → FIXED
Target Milestone: --- → 126 Branch
QA Whiteboard: [post-critsmash-triage]
Flags: qe-verify-
Whiteboard: [necko-triaged] → [necko-triaged] [adv-main126-]
Group: core-security-release
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: