Closed
Bug 405534
Opened 17 years ago
Closed 17 years ago
AvmDebugMsg eats last output character
Categories
(Tamarin Graveyard :: Virtual Machine, defect)
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: markh, Assigned: markh)
Details
Attachments
(1 file)
440 bytes,
patch
|
edwsmith
:
review+
|
Details | Diff | Splinter Review |
The vararg version of AvmDebugMsg prints one character less than was specified - which is likely to be the trailing \n. The problem is that StringCbVPrintf() is passed the result of _vscprintf() - but according to the docs, _vscprintf() returns the count excluding the trailing \0, while StringCbVPrintf() expects space for the \0 to be included. Attaching a patch that fixes the problem.
Updated•17 years ago
|
Attachment #290304 -
Flags: review+
Assignee | ||
Comment 1•17 years ago
|
||
thanks ed - checked in 237:0161c573f53f
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Updated•15 years ago
|
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•