Re: [Corrected] NTDLL/loader.c: Remove spaces at end of name in import_dll

2006-02-20 Thread Robert Shearman
Uwe Bonnes wrote: @@ -470,6 +480,7 @@ WCHAR *ptr = RtlAllocateHeap( GetProcessHeap(), 0, len * sizeof(WCHAR) ); if (!ptr) return NULL; ascii_to_unicode( ptr, name, len ); +skip_spaces(buffer, len); status = load_dll( load_path, ptr, 0, &wmImp ); R

Re: NTDLL/loader.c: Remove spaces at end of name in import_dll

2006-02-18 Thread Vitaliy Margolen
Saturday, February 18, 2006, 12:29:04 PM, Uwe Bonnes wrote: >> "Vitaliy" == Vitaliy Margolen <[EMAIL PROTECTED]> writes: > Vitaliy> Saturday, February 18, 2006, 11:16:10 AM, Uwe Bonnes wrote: > >> Changelog: ntdll/loader.c import_dll() Remove spaces at end of name > >> retrieved wi

Re: NTDLL/loader.c: Remove spaces at end of name in import_dll

2006-02-18 Thread Uwe Bonnes
> "Vitaliy" == Vitaliy Margolen <[EMAIL PROTECTED]> writes: Vitaliy> Saturday, February 18, 2006, 11:16:10 AM, Uwe Bonnes wrote: >> Changelog: ntdll/loader.c import_dll() Remove spaces at end of name >> retrieved with get_rva( module, descr-> Name ) >> +/* Overwrite spaces

Re: NTDLL/loader.c: Remove spaces at end of name in import_dll

2006-02-18 Thread Vitaliy Margolen
Saturday, February 18, 2006, 11:16:10 AM, Uwe Bonnes wrote: > Changelog: > ntdll/loader.c import_dll() > Remove spaces at end of name retrieved with get_rva( module, > descr->>Name ) > +/* Overwrite spaces at end of buffer with NULL */ > +inline static void skip_spaces(WCHAR *buffer, size_t len)