Bug#928472: pdftohtml uses the wrong data for the sequence number.
David Garfield
david at dev.barlinq.com
Wed Feb 26 16:25:51 GMT 2020
My patch against poppler (0.71.0-6) unstable reads:
$ diff poppler-0.71.0{,-mod}/goo --recursive --unif=8
diff --recursive '--unif=8' poppler-0.71.0/goo/GooString.cc poppler-0.71.0-mod/goo/GooString.cc
--- poppler-0.71.0/goo/GooString.cc 2018-10-31 17:13:17.000000000 -0400
+++ poppler-0.71.0-mod/goo/GooString.cc 2020-02-26 11:03:10.304076595 -0500
@@ -136,17 +136,17 @@
//------------------------------------------------------------------------
GooString *GooString::fromInt(int x) {
char buf[24]; // enough space for 64-bit ints plus a little extra
const char *p;
int len;
formatInt(x, buf, sizeof(buf), false, 0, 10, &p, &len);
- return new GooString(buf, len);
+ return new GooString(p, len);
}
GooString *GooString::format(const char *fmt, ...) {
auto *s = new GooString();
va_list argList;
va_start(argList, fmt);
s->appendfv(fmt, argList);
$
More information about the Pkg-freedesktop-maintainers
mailing list