Package: ghostscript / 9.53.3~dfsg-7+deb11u7
Metadata
| Package | Version | Patches format |
|---|---|---|
| ghostscript | 9.53.3~dfsg-7+deb11u7 | 3.0 (quilt) |
Patch series
view the series file| Patch | File delta | Description |
|---|---|---|
| 020201007~c6ce09a.patch | (download) |
configure.ac |
13 5 + 8 - 0 ! |
re-enable support for opvp/oprp devices A user got in touch to say that he maintains a printer driver "back end" that uses the opvp device. So reinstating it - at least we know it's getting tested. |
| 020201028~41ef9a0.patch | (download) |
base/fapi_ft.c |
6 3 + 3 - 0 ! |
drop use of ft_callback_def() def From 2.10.3, Freetype disappeared the FT_CALLBACK_DEF() macro, which is what we used when defining our callbacks from Freetype. . No guidance forthcoming from the Freetype developer who made those changes, so change to explicitly declaring the callbacks file static. . Should fix the reported build failures. |
| 020201120~bd48c43.patch | (download) |
base/gdevp14.c |
57 35 + 22 - 0 ! |
fix endian issues with cmm The interface code to the CMM was corrected to indicate when a endian swap was needed on the data. This should only occur in the case when we are dealing with transparency buffers during the put image blending operation that may include a color conversion. The final blend bakes the data as BE so if we are on a LE machine, the CMM will need to know to swap the bytes (assuming the pdf14 device is using 16bit buffers). . The code was rewritten to make it clear that this setting is no BE vs LE but simply an endian swap. That was a source of confusion. . Revealed in this testing was the lack of some proper error reporting during buffer conversions, which were fixed. |
| 020201214~c616676.patch | (download) |
lib/ps2epsi |
4 2 + 2 - 0 ! |
fix bug 703270: wrong path for postscript helper file in ps2epsi |
| 020210130~d787dad.patch | (download) |
devices/vector/gdevtxtw.c |
6 2 + 4 - 0 ! |
txtwrite - address some memory handling problems There are two problems here; firstly the textw_text_release() function is called *from* gs_text_release, and should not be calling that function. This was the initial cause of the seg fault. . Secondly the txtwrite custom text enumerator was not declaring the 'pte_fallback' text enumerator member, which meant that it could be relocated without updating the txtwrite text enumerator, leading to seg faults further through the processing. . This resolves the seg faults on the supplied test file for me, but there are still memory problems (memory leaks in fact) revealed by running under Memento. I'll address these in a later commit or commits. |
| 020210201~41130dd.patch | (download) |
Resource/Init/pdf_base.ps |
25 14 + 11 - 0 ! |
pdf interpreter - work around broken objstms (again) Ghostscript can't read files that poppler, mupdf and Firefox and others can read . The problem is in an OObjStm, a compressed representation of various PDF objects. In the example file the ObjStm returns a lone 'mark' object for one of the compressed objects, which is not legal. . This appears to be the font T1_2 on page 87. . The mark confuses our counting of the returned objects and that leads to the interpreter falling in a heap. . There's no trivial way to address this, so I've chosen to use the approach used for error handling in other places; push a specific name onto the stack, and then use that instead of a mark to delimit the portion of the stack of interest. . Obviously nothing is going to rescue the broken font; but since this is a PDF file which has been OCR'ed I don't think this is a problem as we will not to try to use it for rendering as the text is all 'drawn' in text rendering mode 3 (neither fill nor stroke). . Because we keep using this I've also added a couple of utility procedures CountToKey and ClearToKey, which work similarly to countomark and cleartomark. Because I wanted to be able to detect a missing key on the stack CountToKey returns a boolean, not just a number. . I've also used that approach around the verify_page_tree call so that we don't end up with a pile of junk on the stack if it should fall over similar errors in future. . Finally I tested with the customer supplied file which originally inspired the changes in resolveobjectstream to detect the last kind of broken ObjStm and that file continues to work. |
| 020210212~7861fca.patch | (download) |
psi/zfsample.c |
14 11 + 3 - 0 ! |
oss-fuzz 30715: check stack limits after function evaluation. |
| 020210603~2a31293.patch | (download) |
psi/zfsample.c |
16 10 + 6 - 0 ! |
bug 703902: fix op stack management in sampled_data_continue() |
| 020210907~a9bd3de.patch | (download) |
base/gdevpipe.c |
22 21 + 1 - 0 ! |
bug 704342: include device specifier strings in access validation |
| 020230324~37ed502.patch | (download) |
base/sbcp.c |
8 8 + 0 - 0 ! |
graphics library - prevent buffer overrun in (t)bcp encoding |
| 020230607~5e65eea.patch | (download) |
base/gpmisc.c |
31 22 + 9 - 0 ! |
bug 706761: don't "reduce" %pipe% file names for permission validation |
| 020230614~fb342fd.patch | (download) |
base/gpmisc.c |
2 1 + 1 - 0 ! |
bug 706778: 706761 revisit |
| 020230717~d81b82c.patch | (download) |
base/gdevdevn.c |
2 1 + 1 - 0 ! |
bug 706897: copy pcx buffer overrun fix from devices/gdevpcx.c |
| 020230824~8b0f200.patch | (download) |
devices/gdevijs.c |
4 3 + 1 - 0 ! |
ijs device - try and secure the ijs server startup |
| 020230912~1ff9a69.patch | (download) |
psi/zmisc1.c |
8 8 + 0 - 0 ! |
in safer (default) don't allow eexec seeds other than the type 1 standard |
| 020240321~3b17350.patch | (download) |
devices/gdevupd.c |
31 31 + 0 - 0 ! |
uniprint device - prevent string configuration changes when safer |
| 020240326~5ae2e32.patch | (download) |
base/gpmisc.c |
4 2 + 2 - 0 ! |
bug #707691 |
| 020240326~f5336e5.patch | (download) |
base/gpmisc.c |
21 21 + 0 - 0 ! |
bug 707691 part 2 |
| 020240326~79aef19.patch | (download) |
base/gpmisc.c |
34 31 + 3 - 0 ! |
bug #707686 |
| 020240510~b41477c.patch | (download) |
contrib/opvp/gdevopvp.c |
14 10 + 4 - 0 ! |
opvp device - prevent unsafe parameter change with safer |
| 1001_cross.patch | (download) |
autogen.sh |
2 2 + 0 - 0 ! |
allow skipping configure during bootstrap to support cross build ghostscript fails to cross build from source, because it configures for the build architecture when invoked from autogen.sh. Cross building configures for the host architecture as a separate call after initial bootstrapping. . This patch allows telling autogen.sh not to call configure. |
| 1002 Update lcms2 non mt code for buff_desc endian_swap.patch | (download) |
base/gsicc_lcms2.c |
17 5 + 12 - 0 ! |
update lcms2 (non-mt) code for buff_desc->endian_swap Forgotten in bd48c43be5f736393372dffbad627ed6fc486238 |
| 1003_fix_gdevdsp_size_check.patch | (download) |
devices/gdevdsp.c |
3 0 + 3 - 0 ! |
fix size check in gdevdsp |
| 2001_docdir_fix_for_debian.patch | (download) |
Makefile.in |
4 2 + 2 - 0 ! |
set docdir appropriately for debian |
| 2002_gs_man_fix_debian.patch | (download) |
man/gs.1 |
15 8 + 7 - 0 ! |
fixes for gs.1 (debian specific path adjustments) |
| 2003_support_multiarch.patch | (download) |
base/unix-aux.mak |
12 6 + 6 - 0 ! |
check multiarch paths |
| 2004_remove_non Debian_paths_from_docs.patch | (download) |
man/gs.1 |
22 6 + 16 - 0 ! |
remove non-debian paths from documentation |
| 2005_fix_Debian_paths_in_docs.patch | (download) |
man/gs.1 |
26 13 + 13 - 0 ! |
fix debian paths in documentation |
| 2006_suggest_install_ghostscript doc_in_docs.patch | (download) |
man/gs.1 |
4 3 + 1 - 0 ! |
suggest install of ghostscript-doc in documentation |
| 2007_suggest_install_ghostscript doc_in_code.patch | (download) |
psi/imainarg.c |
1 1 + 0 - 0 ! |
suggest install of ghostscript-doc in code |
| 2008_mention_ghostscript x_in_docs.patch | (download) |
man/gs.1 |
3 1 + 2 - 0 ! |
mention ghostscipt-x affect on default device in docs |
| 2009_use_system_javascript.patch | (download) |
doc/API.htm |
2 1 + 1 - 0 ! |
use locally served jquery to avoid privacy breach |
| 2010_add_build_timestamp_setting.patch | (download) |
base/gp_unix.c |
22 22 + 0 - 0 ! |
allow the build timestamp to be externally set In order to make Ghostscript output reproducible, we need a way to set the build timestamp to other values than the current time. We now consistently use gp_get_realtime() instead of directly calling time() or gp_get_usertime() and make gp_get_realtime() use the value found in the SOURCE_DATE_EPOCH environment variable if set. Also, environment timezone is fixed to UTC if SOURCE_DATE_EPOCH is used to avoid variations. |
| 2011_avoid_remote_font.patch | (download) |
doc/API.htm |
2 1 + 1 - 0 ! |
avoid remote fonts to avoid privacy breach Simply avoid custom fonts for now... |
