Bug 130914 - Failure to parse CDR document (regression in 1.6.0)
Summary: Failure to parse CDR document (regression in 1.6.0)
Status: NEW
Alias: None
Product: Document Liberation Project
Classification: Unclassified
Component: libcdr (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected, regression
Depends on:
Blocks:
 
Reported: 2020-02-24 23:08 UTC by Patrick Storz
Modified: 2020-10-18 02:46 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
sample file (Frenchcurve.cdr) (13.55 KB, image/x-coreldraw)
2020-02-24 23:08 UTC, Patrick Storz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Storz 2020-02-24 23:08:33 UTC
Created attachment 158156 [details]
sample file (Frenchcurve.cdr)

Try to open the attached sample file (Frenchcurve.cdr), e.g. using
  cdr2raw Frenchcurve.cdr

Result:
  ERROR: Parsing of document failed!


This is a regression in libcdr 1.6.0.
Earlier versions parsed the file properly.
Comment 1 Xisco Faulí 2020-02-25 11:38:19 UTC
Indeed, the issue started to happen after https://cgit.freedesktop.org/libreoffice/core/commit/?id=85dc497f1556ebc53f482e382f48e98b9560b983
Comment 2 Aron Budea 2020-04-12 19:20:47 UTC
Actual regressing commit in libcdr repo is:
https://cgit.freedesktop.org/libreoffice/libcdr/commit/?id=496e288d9e5450ed7db8324b51a1767377f0125a
author		Fridrich Štrba <fridrich.strba@bluewin.ch>	2020-02-01 20:28:36 +0100
committer	Fridrich Štrba <fridrich.strba@bluewin.ch>	2020-02-02 11:30:45 +0100

improve readFild for versions 13 and up