Re: LOCALE: Don't copy value if buffer is too small

2004-02-25 Thread Fabian Cenedese
>> Ok, I saw that you fixed the WCHAR/byte mess. But there is still a possibility that >> the function can copy a string longer than buffer if it already has an appended >> null. > >That shouldn't happen, NtQueryValue should have signaled an overflow >in that case. Do you have a test case showing

Re: LOCALE: Don't copy value if buffer is too small

2004-02-25 Thread Alexandre Julliard
Fabian Cenedese <[EMAIL PROTECTED]> writes: > Ok, I saw that you fixed the WCHAR/byte mess. But there is still a possibility that > the function can copy a string longer than buffer if it already has an appended null. That shouldn't happen, NtQueryValue should have signaled an overflow in that ca