https://issues.apache.org/ooo/show_bug.cgi?id=122273
Ariel Constenla-Haile <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |CONFIRMED Ever confirmed|0 |1 --- Comment #2 from Ariel Constenla-Haile <[email protected]> --- The crash is reproducible on Windows 7 The problem is in http://svn.apache.org/viewvc/openoffice/trunk/main/ucb/source/ucp/ftp/ftpurl.cxx?revision=1413471&view=markup#l436 fclose(res) res is NULL, flcose(NULL) is producing the crash. The problem comes from FILE *res = tmpfile(); I get a "Permission denied" on Windows 7 with tmpfile(). On Linux, the problem is in FTPInputStream::readBytes() http://svn.apache.org/viewvc/openoffice/trunk/main/ucb/source/ucp/ftp/ftpinpstr.cxx?revision=1413471&view=markup#l95 The algorithm is wrong, throws an exception when it cannot read all bytes requested. -- You are receiving this mail because: You are on the CC list for the bug. You are the assignee for the bug.
