re: ntdll: Fix RtlIntegerToUnicodeString so it won't overflow
James wrote:
It copies str->Length + sizeof(WCHAR) to the destination buffer according to james' testcases.
No, the length is indeterminate.
Oh, is that the test that checks whether not double-null terminating works? I think that test needs rewriting to be determinate... e.g. by putting in a list that has known bad (but properly terminated) elements after the nominal end, and making sure the bad part doesn't get processed... or something...
On Thu, May 8, 2008 at 1:41 PM, Dan Kegel <dank(a)kegel.com> wrote:
James wrote:
It copies str->Length + sizeof(WCHAR) to the destination buffer according to james' testcases.
No, the length is indeterminate.
Oh, is that the test that checks whether not double-null terminating works? I think that test needs rewriting to be determinate... e.g. by putting in a list that has known bad (but properly terminated) elements after the nominal end, and making sure the bad part doesn't get processed... or something...
No, this is a different test. -- James Hawkins
participants (2)
-
Dan Kegel -
James Hawkins