https://bugs.winehq.org/show_bug.cgi?id=38237 Bug ID: 38237 Summary: UrlDownloadToFile should fail when not found Product: Wine Version: 1.7.38 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: minor Priority: P2 Component: urlmon Assignee: wine-bugs(a)winehq.org Reporter: ocean04(a)suomi24.fi Distribution: --- In Windows function fails, when url (jpg) is not found. wine downloads&saves error page html. -> application crashed when it tried to use invalid jpg. FPC test/source: program notfoundtest; {$mode Delphi} uses sysutils, urlmon; var r: boolean; begin r := UrlDownloadToFile(nil, PChar('http://netikka.net/dev/not_found.jpg'), PChar('C:\t.jpg'), 0, nil)=0; if r=true then begin writeln('Test failed!'); readln; end; end. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.