Hello,
Jason White, le Mon 19 Sep 2011 18:38:37 +1000, a écrit :
@@ -395,6 +395,7 @@ void get_attributes (char *p)
break;
strncpy (name, p, 250);
p = name;
+ begin = p;
Mmm, no begin should really stay at the beginning of the buffer. But if
you need that to get
Samuel Thibault, le Sun 26 Feb 2012 18:19:17 +0100, a écrit :
Could you try the attached patch?
I have found other issues. Could you try the latest revision in the
repo? I.e.
debcheckout daisy-player
and compile as usual.
Samuel
--
To UNSUBSCRIBE, email to
Jason White, le Mon 27 Feb 2012 11:35:24 +1100, a écrit :
He expressed an intention to rewrite the code to use an XML parser instead of
the bug-prone implementation currently in place.
It might be best to hold the bug until this is done,
The fixes I have added to the Debian package should be
Samuel Thibault sthiba...@debian.org wrote:
Mmm, no begin should really stay at the beginning of the buffer. But if
you need that to get things done I guess it's because p - begin becomes
greater than 250? That rather means that we have to increase the size
of the buffer, as is already done
Samuel Thibault sthiba...@debian.org wrote:
The fixes I have added to the Debian package should be enough. They
at least permit to open almost all Daisy consortium-provided examples
(others require more implementation). So at worse, if upstream does not
upgrade to libxml in time for the
forwarded 642055 j...@jlemmens.nl
thanks
Bug is now known by upstream. I expect to hear from him soon.
Paul
signature.asc
Description: OpenPGP digital signature
I haven't solved this entirely, but I've made progress.
It turned out that the XML/XHTML attributes in the input file were not being
parsed properly. I think the following patch fixes it. However, this exposes
another bug: the Daisy book is now parsed, but I get this error:
clip_end (959.366000)
Package: daisy-player
Version: 7.0.4.1-1
Severity: normal
-- System Information:
this is the first book that I tried, so I'm not sure how general the problem
is.
Daisy-player parses the book, presents the table of contents, followed by
reading closing announcement, then aborts with the corrupt
Having started debugging this, it appears that we reach line 529 of
daisy-player.c, i.e., read() returns -1.
Interestingly, errno = 0 according to gdb, i.e., print errno shows a value
of 0.
We are at the end of the file, apparently: print p shows /html as the
content of the buffer.
--
To
9 matches
Mail list logo