mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 17:34:57 +00:00
RtlIntegerToUnicodeString
incress the interal buffer size to 33bytes as wine does RtlInt64ToUnicodeString incress the interal buffer size to 65bytes as wine does This will take care of some intToChar Bugs I have been locking of it for sometimes now thanks to crashfourit network patch and we talk I did found it. svn path=/trunk/; revision=21541
This commit is contained in:
parent
35e0a27de4
commit
a87b34d546
1 changed files with 2 additions and 2 deletions
|
@ -625,7 +625,7 @@ RtlIntegerToUnicodeString(
|
||||||
IN OUT PUNICODE_STRING String)
|
IN OUT PUNICODE_STRING String)
|
||||||
{
|
{
|
||||||
ANSI_STRING AnsiString;
|
ANSI_STRING AnsiString;
|
||||||
CHAR Buffer[16];
|
CHAR Buffer[33];
|
||||||
NTSTATUS Status;
|
NTSTATUS Status;
|
||||||
|
|
||||||
Status = RtlIntegerToChar(Value, Base, sizeof(Buffer), Buffer);
|
Status = RtlIntegerToChar(Value, Base, sizeof(Buffer), Buffer);
|
||||||
|
@ -653,7 +653,7 @@ RtlInt64ToUnicodeString (
|
||||||
{
|
{
|
||||||
LARGE_INTEGER LargeInt;
|
LARGE_INTEGER LargeInt;
|
||||||
ANSI_STRING AnsiString;
|
ANSI_STRING AnsiString;
|
||||||
CHAR Buffer[32];
|
CHAR Buffer[65];
|
||||||
NTSTATUS Status;
|
NTSTATUS Status;
|
||||||
|
|
||||||
LargeInt.QuadPart = Value;
|
LargeInt.QuadPart = Value;
|
||||||
|
|
Loading…
Reference in a new issue