-
If there are errors parsing the epub metadata, or the type of data requested is not valid, epub_get_metadata can crash. This makes epub_get_metadata more tolerant to invalid/unhandled data.
2009-10-18 22:11:28 UTC by rhdunn
-
If _opf_parse in opf.c fails to find a metadata block, opf->metadata is left uninitialised. This patch ensures that it gets initialised.
2009-10-18 21:53:20 UTC by rhdunn
-
In function _ocf_parse at file ocf.c, after the line
ocf->filename = malloc(sizeof(char)*(strlen(filename)+1));
there is not a check if malloc returned null.
I will add after that.
if ( ! ocf->filename) {
_epub_print_debug(epub, DEBUG_ERROR, "there is no memory available");
return NULL;
}.
2009-08-23 09:02:15 UTC by almorca
-
Hello,
There is a small bug in lit2epub (present at least in version 0.1.1) which causes it to produce EPUB files with invalid (i.e. different than original) names for some files (e.g. "split.lit" would be renamed to "s.lit.lit").
In order to fix this I suggest changing line 28 to:
EPUB=$(echo $1 | sed -e 's/\.lit$/.epub/')
Cheers,
Tomasz.
2009-08-16 18:14:55 UTC by agis
-
Closed because already fixed in svn rev. 98.
2009-07-05 09:24:52 UTC by mattepiu
-
pinotree committed revision 99 to the ebook tools SVN repository, changing 2 files.
2009-07-05 09:07:21 UTC by pinotree
-
applied in svn.
2009-07-05 08:51:35 UTC by nakee
-
nakee committed revision 98 to the ebook tools SVN repository, changing 1 files.
2009-07-05 08:49:28 UTC by nakee
-
PATCH: This patch/quickfix allows to read metadata from any namespace. You might want to bind it to opf checking xmlTextReaderConstPrefix to be "opf" or "" .
2009-07-05 08:35:01 UTC by mattepiu
-
ouch, patch is for opf:metadata bug sorry.
2009-07-05 08:34:05 UTC by mattepiu