Closed
Bug 493253
Opened 17 years ago
Closed 17 years ago
VMPI/SpyUtilsWin/WriteOnNamedSignal incorrect cast
Categories
(Tamarin Graveyard :: Virtual Machine, defect)
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: tharwood, Unassigned)
Details
Attachments
(1 file)
|
840 bytes,
patch
|
rishah
:
review+
|
Details | Diff | Splinter Review |
Subject routine casts the buffer passed to FormatMessageA as LPTSTR. This fails when the compiler's set to use Unicode types for TCHAR. Since the call is explicitly to FormatMessageA, the cast should be a corresponding cast to LPSTR.
(From quick inspection, call to FormatMessageA looks appropriate for the input data, but a comment that the is specifically processing ASCII data would not be amiss).
Comment 1•17 years ago
|
||
Is this in current redux tip? I thought a fix for this was pushed recently.
| Reporter | ||
Comment 2•17 years ago
|
||
Yep, just pulled it.
| Reporter | ||
Comment 3•17 years ago
|
||
Changes the cast to be ASCII-specific.
Attachment #377727 -
Flags: review?(rishah)
Updated•17 years ago
|
Attachment #377727 -
Flags: review?(rishah) → review+
| Reporter | ||
Comment 4•17 years ago
|
||
pushed 1894:df2640659d34
| Reporter | ||
Updated•17 years ago
|
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Comment 5•17 years ago
|
||
Resolved fixed engineering / work item that has been pushed. Setting status to verified.
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•