Problem in file dlls/commdlg/filedlg.c

Lozano, Carlos A. clozano at andago.com
Fri Oct 11 18:32:53 CDT 2002


Hello,

In the line 655, there is a test for when ofnW->lpstrFile
is null

>  if (ofnW->lpstrFile)

but a bit later in line 689,690 there is not the same check,
then if ofnW->nMaxFile is 0 because ofnW->lpstrFile is null,
then the line 690 write in a negative pos:

> lfs->ofnA->lpstrFile[ofnW->nMaxFile-1] = 0;

so mirc591t.exe installer crashes when tries change the drive
in the browse option.

Can someone fix it?

Regards,
Carlos.

-- 
_______________________________________________________
     _/_ /
    /    \/   
ANDAGO    |-- [ Infraestructuras - Andago.com   ]
    \____/\   [ email:carlos.lozano at andago.com  ] 
______\__\_____________________________________________



More information about the wine-devel mailing list