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:
Magnus Olsen 2006-04-10 17:21:46 +00:00
parent 35e0a27de4
commit a87b34d546

View file

@ -625,7 +625,7 @@ RtlIntegerToUnicodeString(
IN OUT PUNICODE_STRING String)
{
ANSI_STRING AnsiString;
CHAR Buffer[16];
CHAR Buffer[33];
NTSTATUS Status;
Status = RtlIntegerToChar(Value, Base, sizeof(Buffer), Buffer);
@ -653,7 +653,7 @@ RtlInt64ToUnicodeString (
{
LARGE_INTEGER LargeInt;
ANSI_STRING AnsiString;
CHAR Buffer[32];
CHAR Buffer[65];
NTSTATUS Status;
LargeInt.QuadPart = Value;