https://bugs.documentfoundation.org/show_bug.cgi?id=159844

--- Comment #3 from Robert Nagy <[email protected]> ---
Yes that's a temporary file that includes csv formatted data, but that is
actually
irrelevant in this case.
You can create an empty file as well.

$ touch /tmp/tmp.92SyOf6UmZ
$ scalc --headless --convert-to ods /tmp/tmp.92SyOf6UmZ 
convert /tmp/tmp.92SyOf6UmZ as a Calc document -> /home/robert/tmp.ods using
filter : calc8
soffice.bin(19854) in free(): double free 0x6f76d02f930

However if you create a file with file extension the double free does not
happen.

$ touch /tmp/tmp.92SyOf6UmZ.csv
$ scalc --headless --convert-to ods /tmp/tmp.92SyOf6UmZ.csv                     
convert /tmp/tmp.92SyOf6UmZ.csv as a Calc document ->
/home/robert/tmp.92SyOf6UmZ.ods using filter : calc8

I assume that the code tries to rely on the file extension and then goes
through the filters to see what format it is.

The output filename is also buggy as if you have a dot in the filename
it will automatically assume that as the extension and the output filepath
is going to be wrong, see the first invocation.
This might be okay behavior on Windows, where the file extension actually
matters.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to