Winspool errors with notepad

Sylvain Petreolle spetreolle at yahoo.fr
Thu Feb 6 02:25:01 CST 2003


 --- Dmitry Timoshkov <dmitry at baikal.ru> a écrit : > "Duane Clark"
<dclark at akamail.com> wrote:
> 
> > In an attempt to revive this thread (since it broke printing for me
> 
> > too), it appears that if a NULL pointer is passed to:
> > 
> > RtlCreateUnicodeStringFromAsciiz(&pNameW,pName);
> > 
> > then it returns an empty string in pNameW.buffer, rather than NULL.
> 
> That's correct behaviour. We need to make checks for NULL everywhere
> when appropriate before RtlCreateUnicodeStringFromAsciiz calls to
> avoid
> this kind of bug.
wouldnt be better for this issue that we revert the patch ?

=====
Sylvain Petreolle
spetreolle at users.sourceforge.net 
Fight against Spam ! http://www.euro.cauce.org/en/index.html
ICQ #170597259

"Don't think you are. Know you are." Morpheus, in "Matrix".

___________________________________________________________
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com



More information about the wine-devel mailing list