Damjan Jovanovic damjan.jov@gmail.com writes:
- dosPNGFileName = wine_get_dos_file_name(pngFileName);
- if (dosPNGFileName == NULL)
- {
WINE_ERR("error converting %s to DOS file name\n", pngFileName);
goto end;
- }
You can't rely on having a valid DOS name here. You should use the \?\unix format, or maybe better fix wine_get_dos_file_name() to do that.