Closed Bug 1734650 Opened 3 years ago Closed 2 years ago

LoadLibrarySystem32 should use LOAD_WITH_ALTERED_SEARCH_PATH

Categories

(Core :: XPCOM, defect)

defect

Tracking

()

RESOLVED FIXED
108 Branch
Tracking Status
firefox108 --- fixed

People

(Reporter: emk, Assigned: emk)

Details

Attachments

(1 file)

LoadLibrarySystem32 will load a specified DLL from System32. But it will still search appdir for dependencies. LOAD_WITH_ALTERED_SEARCH_PATH will prevent that.

Of course, we should use LOAD_LIBRARY_SEARCH_SYSTEM32 once we dropped support or Windows 7. But this is the best we can do at the moment.

Assignee: nobody → VYV03354
Status: NEW → ASSIGNED
Attachment #9297550 - Attachment description: Bug 1734650 - Use LOAD_WITH_ALTERED_SEARCH_PATH in LoadLibrarySystem32. r?nika → Bug 1734650 - Ensure that LoadLibrarySystem32 loads dependencies from System32. r?handyman
Pushed by VYV03354@nifty.ne.jp:
https://hg.mozilla.org/integration/autoland/rev/f8cf4ad042f8
Ensure that LoadLibrarySystem32 loads dependencies from System32. r=handyman
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 108 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: