Package: mupdf / 1.15.0+ds1-1

Metadata

Package Version Patches format
mupdf 1.15.0+ds1-1 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
0001 mupdf_manpage.patch | (download)

docs/man/mupdf.1 | 10 10 + 0 - 0 !
1 file changed, 10 insertions(+)

 mupdf_manpage


0003 Sort files in static library to make the build repro.patch | (download)

Makefile | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 sort files in static library to make the build reproducible


0003 use debian flavor build options.patch | (download)

Makerules | 5 4 + 1 - 0 !
thirdparty/mujs/Makefile | 2 2 + 0 - 0 !
2 files changed, 6 insertions(+), 1 deletion(-)

 use debian flavor build options

Do not strip binaries by default and use Debian LDFLAGS

0004 MuPDF crossbuild use target arch pkg config.patch | (download)

Makerules | 52 28 + 24 - 0 !
1 file changed, 28 insertions(+), 24 deletions(-)

 mupdf crossbuild use target arch pkg-config

mupdf fails to cross build, because it uses the build architecture
pkg-config and thus fails to find a pile of .pc files.

0005 MuPDF crossbuild use host cc for utils.patch | (download)

Makefile | 2 2 + 0 - 0 !
Makerules | 1 1 + 0 - 0 !
2 files changed, 3 insertions(+)

 mupdf crossbuild use host cc for utils


0006 Allow disabling objcopy.patch | (download)

Makerules | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 allow disabling objcopy


0007 typographical and formatting fixes to the manual.patch | (download)

docs/man/mupdf.1 | 36 19 + 17 - 0 !
1 file changed, 19 insertions(+), 17 deletions(-)

 typographical and formatting fixes to the manual

0008 Bug 701118 Handle appending large display list nodes.patch | (download)

source/fitz/list-device.c | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 bug 701118: handle appending large display list nodes.

The size of the begin layer node depends on the size of the layer
name. That name may be a string from the page's property resources,
and is only bounded by memory when parsed by lex_string(). So the
append_list_node() logic cannot simply double the size of the
display list and hope that the node fits, since the node may be
of arbitrary size.

Now append_list_node() would repeatedly double the size of the
display list until the node fits, or malloc() runs out of memory.

0009 Bug 701118 Limit size of begin layer nodes in displa.patch | (download)

source/fitz/list-device.c | 3 3 + 0 - 0 !
1 file changed, 3 insertions(+)

 bug 701118: limit size of begin layer nodes in display list.

The size of the begin layer node depends on the size of the layer
name. That name may be a string from the page's property resources,
and is only bounded by memory when parsed by lex_string(). The
layer name may cause a display node to be larger than the maximum
size allowed. This condition is now checked for.

0010 Bug 700301 Fix potential infinite loop in svg output.patch | (download)

source/fitz/svg-device.c | 12 12 + 0 - 0 !
1 file changed, 12 insertions(+)

 bug 700301: fix potential infinite loop in svg output device.

The POC in the bug no longer triggers the problem, but potentially
the problem is there all the same.

Spot an attempt to define a pattern with X or Y height of 0, and
cope with it. We print a warning, and reset the X or Y step to 1.

0011 mupdf x11 does not need to link to libcrypto.patch | (download)

Makefile | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 mupdf-x11 does not need to link to libcrypto