Debian Patches

Status for fig2dev/1:3.2.8-3+deb11u1

Patch Description Author Forwarded Bugs Origin Last update
14_fig2mpdf.patch creating multilayered or singlelayer PDF or EPS figures for including into LaTeX documents. Michael Pfeiffer <p3fff@web.de> invalid http://p3f.gmxhome.de/fig2mpdf/fig2mpdf.html
15_fig2mpdf-doc.patch fig2mpdf 1.2 documentation Michael Pfeiffer <p3fff@web.de> invalid http://p3f.gmxhome.de/fig2mpdf/fig2mpdf.html
28_fix_fig2dev_chmod.patch The missing sys/stat.h prototype leads to an implicit declaration of fchmod(), which uses signed int while kFreeBSD expects unsigned int, which
results in a wrong bitmap, which leads to a build failure.
This is only required for the fig2mpdf patch.
Steven Chamberlain <steven@pyro.eu.org> invalid debian
29_RGBFILE.patch rgb.txt can not be located via FIG2DEV_RGBFILE environment variable. This allows one to run the test suite without the package being
installed before.
Roland Rosenfeld <roland@debian.org> invalid
30_arrow-poly.patch Remove arrows from polygon with single point, ticket #114 When sanitizing line objects, a polygon consisting of too few points is
converted to a polyline. With this commit, the resulting polyline is
also sanitized, e.g, by removing arrow tips if the line consists only of
a single point.
Thomas Loimer <thomas.loimer@tuwien.ac.at> yes upstream 2021-04-23
31_trunc-subsuper.patch Allow truncated sub/superscripts in text, #113, #117 For svg output, sub- and superscripts are indicated by the ^ and _
characters, respectively. A text string truncated right after these
characters caused buffer overflow. Fixes tickets #113 and #117.
Thomas Loimer <thomas.loimer@tuwien.ac.at> yes upstream 2021-04-24
32_arrow-point.patch Omit arrows without points in svg output, ticket #115 Thomas Loimer <thomas.loimer@tuwien.ac.at> yes upstream 2021-04-24
33_sanitize-color.patch Sanitize color definitions, ticket #116 Thomas Loimer <thomas.loimer@tuwien.ac.at> yes upstream 2021-04-25
34_epsimport.patch [PATCH] Correct a typo causing incorrect eps import, #137 Thomas Loimer <thomas.loimer@tuwien.ac.at> yes upstream https://sourceforge.net/p/mcj/fig2dev/ci/1b09a885a8f0309bf1170ddcf07673801c79f895/ 2021-09-28
35_CVE-2021-37529.patch Allow long names for non-existing images, #125 This fixes CVE-2021-37529

On freeing the memory for the long file names, a double free() happened,
see ticket #125.

In addition, do not allocate twice to the same pointer (*found), thus
leaking memory.
Thomas Loimer <thomas.loimer@tuwien.ac.at> yes upstream https://sourceforge.net/p/mcj/fig2dev/ci/899ea1277387ca9e9853bf61d29b7419d5692691 2021-07-20
36_CVE-2021-37530.patch Avoid a segfault for non-existing image names, #126 This fixes CVE-2021-37530

Before this commit, a name with a compression suffix, referring to a
non-existing image file, would cause a segfault.
Thomas Loimer <thomas.loimer@tuwien.ac.at> yes upstream https://sourceforge.net/p/mcj/fig2dev/ci/ff103511e49c44c83fc58e2092aa37e9019a3a9f/ 2021-07-20

All known versions for source package 'fig2dev'

Links