Author: greatlrd Date: Mon Apr 10 21:21:46 2006 New Revision: 21541
URL: http://svn.reactos.ru/svn/reactos?rev=21541&view=rev Log: 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.
Modified: trunk/reactos/lib/rtl/unicode.c
Modified: trunk/reactos/lib/rtl/unicode.c URL: http://svn.reactos.ru/svn/reactos/trunk/reactos/lib/rtl/unicode.c?rev=21541&... ============================================================================== --- trunk/reactos/lib/rtl/unicode.c (original) +++ trunk/reactos/lib/rtl/unicode.c Mon Apr 10 21:21:46 2006 @@ -625,7 +625,7 @@ 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 @@ { LARGE_INTEGER LargeInt; ANSI_STRING AnsiString; - CHAR Buffer[32]; + CHAR Buffer[65]; NTSTATUS Status;
LargeInt.QuadPart = Value;