Bug 51172 - FILEOPEN of empty CSV file corrupts file
Summary: FILEOPEN of empty CSV file corrupts file
Status: RESOLVED DUPLICATE of bug 46699
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
3.5.2 release
Hardware: x86-64 (AMD64) Linux (All)
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-17 07:17 UTC by Till Crueger
Modified: 2012-06-17 15:29 UTC (History)
0 users

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Till Crueger 2012-06-17 07:17:10 UTC
When opening an empty CSV file, the file does not get opened correctly. Instead binary data is inserted into the file and also saved on the Harddisk. Here is an example how to reproduce the problem:

> touch empty.csv
> libreoffice empty.csv

Click on "Text CSV"
The import dialog shows random garbage.
Click abort.
> cat empty.csv

The file has been filed with random binary data.
Comment 1 Urmas 2012-06-17 15:29:12 UTC

*** This bug has been marked as a duplicate of bug 46699 ***