https://bugs.kde.org/show_bug.cgi?id=406116
--- Comment #7 from Stefan Brüns <[email protected]> --- (In reply to Alexander Stippich from comment #6) > Can reproduce with the test file. I found it to be crashing on > https://phabricator.kde.org/source/kfilemetadata/browse/master/src/ > extractors/epubextractor.cpp$171 The epub file is invalid, as the last entry in its toc.ncx has a navPoint element without the mandatory navLabel (The bad entry is likely caused by some licensing framework which mangled the original epub): --- <navPoint id="license" playOrder="77"><content src="Testo/license_IvREjeLk.htm"/></navPoint></navMap> --- https://groups.niso.org/apps/group_public/download.php/14650/Z39_86_2005r2012.pdf#page=59 Unfortunately, libepub does not check for this, neither after parsing: https://sourceforge.net/p/ebook-tools/code/HEAD/tree/trunk/ebook-tools/src/libepub/opf.c#l361 nor when accessing it during iterator next: https://sourceforge.net/p/ebook-tools/code/HEAD/tree/trunk/ebook-tools/src/libepub/epub.c#l473 (though here it does: https://sourceforge.net/p/ebook-tools/code/HEAD/tree/trunk/ebook-tools/src/libepub/epub.c#l530 ) Unfortunately, libepub upstream is dormant for 7 years ... -- You are receiving this mail because: You are watching all bug changes.
