Shlwapi UNC problems with IE6

Sylvain Petreolle spetreolle at yahoo.fr
Sat Feb 23 14:29:13 CST 2002


Here's what I get now (after trying your patch):
(strange, there's no file with such that name in WINE)

Unhandled exception: page fault on write access to
0x80004005 in 32-bit code (0x403d0c85).
In 32-bit mode.
Symbol h_errno is invalid
0x403d0c85 (_end+0x786d9 [unwind-sjlj.c]): addb
%al,0x0(%eax)
Enter path to file 'unwind-sjlj.c':

 --- lawson_whitney at juno.com a écrit : > On Thu, 21
Feb 2002, Sylvain Petreolle wrote:
> 
> > I forgot the debugger output (same as before but
> > source line changed)
> 
> I hate when that happens.  Squash a bug and it gets
> up and bites you.
> Could you try this one?  This is against the current
> CVS, which contains
> an extended version of my last try, because I got
> overconfident and now
> I have to patch over my own patches.
> 
> diff -ur was/dlls/shlwapi/path.c
> is/dlls/shlwapi/path.c
> --- was/dlls/shlwapi/path.c	Wed Feb 20 17:49:34 2002
> +++ is/dlls/shlwapi/path.c	Thu Feb 21 10:40:38 2002
> @@ -1305,7 +1305,7 @@
>  	LPCSTR lpszPath)
>  {
>  	TRACE("%s\n", debugstr_a(lpszPath));
> -	if (!lpszPath) return FALSE;
> +	if (IsBadStringPtrA(lpszPath, -1)) return FALSE;
>  	if (lpszPath[0]=='\\' && lpszPath[1]=='\\')		
>  	{
>  	  int foundbackslash = 0;
> @@ -1328,7 +1328,7 @@
>  	LPCWSTR lpszPath)
>  {
>  	TRACE("%s\n", debugstr_w(lpszPath));
> -	if (!lpszPath) return FALSE;
> +	if (IsBadStringPtrW(lpszPath, -1)) return FALSE;
>  	if (lpszPath[0]=='\\' && lpszPath[1]=='\\')		
>  	{
>  	  int foundbackslash = 0;
> 
> 
> Lawson
> 
> Constants aren't, and variables won't.
> 
> 
> > diff -ur was/dlls/shlwapi/path.c
> is/dlls/shlwapi/path.c
> --- was/dlls/shlwapi/path.c	Wed Feb 20 17:49:34 2002
> +++ is/dlls/shlwapi/path.c	Thu Feb 21 10:40:38 2002
> @@ -1305,7 +1305,7 @@
>  	LPCSTR lpszPath)
>  {
>  	TRACE("%s\n", debugstr_a(lpszPath));
> -	if (!lpszPath) return FALSE;
> +	if (IsBadStringPtrA(lpszPath, -1)) return FALSE;
>  	if (lpszPath[0]=='\\' && lpszPath[1]=='\\')		
>  	{
>  	  int foundbackslash = 0;
> @@ -1328,7 +1328,7 @@
>  	LPCWSTR lpszPath)
>  {
>  	TRACE("%s\n", debugstr_w(lpszPath));
> -	if (!lpszPath) return FALSE;
> +	if (IsBadStringPtrW(lpszPath, -1)) return FALSE;
>  	if (lpszPath[0]=='\\' && lpszPath[1]=='\\')		
>  	{
>  	  int foundbackslash = 0;
>  

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




More information about the wine-users mailing list