Closed
Bug 972671
Opened 10 years ago
Closed 10 years ago
WindowsDllDetourPatcher uses the wrong jump target in the pJmp32 case
Categories
(Core :: General, defect)
Tracking
()
RESOLVED
FIXED
mozilla30
People
(Reporter: away, Assigned: away)
References
(Blocks 1 open bug)
Details
Attachments
(1 file, 2 obsolete files)
1.16 KB,
patch
|
away
:
review+
|
Details | Diff | Splinter Review |
STR: Apply the test patch, run TestDllInterceptor.exe Discovered while working on a fix for bug 951827. The code only needs to account for the difference between the old and new targets. Maybe this went unnoticed because jumps are frequently at offset 0?
Assignee: nobody → dmajor
Attachment #8375951 -
Flags: review?(mh+mozilla)
Attachment #8375951 -
Attachment is patch: true
This is yucky, just a demonstration. I want to put it in an assembly file to get better control over the jump, and since this won't compile on win64 anyway.
Comment 3•10 years ago
|
||
Comment on attachment 8375951 [details] [diff] [review] pJmp32_fix Makoto should review this.
Attachment #8375951 -
Flags: review?(mh+mozilla) → review?(m_kato)
Comment 4•10 years ago
|
||
Comment on attachment 8375951 [details] [diff] [review] pJmp32_fix Review of attachment 8375951 [details] [diff] [review]: ----------------------------------------------------------------- thanks. Good
Attachment #8375951 -
Flags: review?(m_kato) → review+
Updated patch title
Attachment #8375951 -
Attachment is obsolete: true
Attachment #8375954 -
Attachment is obsolete: true
Attachment #8378063 -
Flags: review+
I want to get this in because bug 951827 may make us hit this code more often. Will follow up with a cleaner version of the test code later.
Keywords: checkin-needed
Whiteboard: [leave open]
Comment 7•10 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/795b23c31b4d
Keywords: checkin-needed
Comment 8•10 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/795b23c31b4d
Changed my mind about comment 6. I moved the test into its own bug. Resolving this based on comment 8.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Whiteboard: [leave open]
Target Milestone: --- → mozilla30
You need to log in
before you can comment on or make changes to this bug.
Description
•