Closed Bug 1697955 Opened 4 years ago Closed 4 years ago

nsUpdateSyncManager is sensitive to path case and junctions

Categories

(Toolkit :: Application Update, defect, P1)

defect

Tracking

()

RESOLVED FIXED
89 Branch
Tracking Status
firefox89 --- fixed

People

(Reporter: agashlin, Assigned: agashlin)

References

Details

Attachments

(1 file)

XRE_EXECUTABLE_FILE is sensitive to case and junctions in the path used when Firefox was launched. This is passed directly through to GetInstallHash() from checking whether to update on --backgroundtask or in nsUpdateSyncManager::OpenLock.

I think we should just be able to use this method: ResolveJunctionPointsAndSymLinks on Windows, and NS_NewLocalFileWithFSRef on macOS.

Assignee: nobody → agashlin
Severity: S2 → S3
Priority: P2 → P1
Pushed by agashlin@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/b6fd53dbbe96 Resolve the install path used for sync manager locks. r=application-update-reviewers,nalexander
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 89 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: