Bug 402558 - Okular crashes on some FB2 files
Summary: Okular crashes on some FB2 files
Status: RESOLVED FIXED
Alias: None
Product: okular
Classification: Applications
Component: fictionbook backend (show other bugs)
Version: 1.5.3
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-12-25 15:19 UTC by Arseniy
Modified: 2022-01-04 05:43 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Buggy FB2 document (230 bytes, application/x-fictionbook+xml)
2018-12-25 15:19 UTC, Arseniy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Arseniy 2018-12-25 15:19:20 UTC
Created attachment 117102 [details]
Buggy FB2 document

SUMMARY
Okular crashes on some FB2 files

STEPS TO REPRODUCE
1. Open attached FB2 file with Okular

OBSERVED RESULT
Okular will crash

EXPECTED RESULT
Document is opened or error message is shown.

SOFTWARE/OS VERSIONS
Linux OpenSUSE Tumbleweed

ADDITIONAL INFORMATION
Attached document does not contain some required XML nodes, for example <title-info>.
Comment 1 Albert Astals Cid 2018-12-26 11:03:27 UTC
Git commit 58038fed18fa3e89b481bb3843f29f45fff4240a by Albert Astals Cid.
Committed on 26/12/2018 at 11:02.
Pushed by aacid into branch 'Applications/18.12'.

Do not crash in files without title-info

M  +3    -3    generators/fictionbook/converter.cpp

https://commits.kde.org/okular/58038fed18fa3e89b481bb3843f29f45fff4240a