Fix CVE-2022-34526: https://nvd.nist.gov/vuln/detail/CVE-2022-34526 https://gitlab.com/libtiff/libtiff/-/issues/433 Patch taken from upstream source repository: https://gitlab.com/libtiff/libtiff/-/commit/275735d0354e39c0ac1dc3c0db2120d6f31d1990 diff --git a/libtiff/tif_dirinfo.c b/libtiff/tif_dirinfo.c --- a/libtiff/tif_dirinfo.c +++ b/libtiff/tif_dirinfo.c @@ -1191,6 +1191,9 @@ _TIFFCheckFieldIsValidForCodec(TIFF *tif, ttag_t tag) default: return 1; } + if( !TIFFIsCODECConfigured(tif->tif_dir.td_compression) ) { + return 0; + } /* Check if codec specific tags are allowed for the current * compression scheme (codec) */ switch (tif->tif_dir.td_compression) { t'> Wojtek's customized Guix
aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/patches/java-xerces-xjavac_taskdef.patch
diff options
context:
space:
mode:
authorMarius Bakke <marius@gnu.org>2020-10-19 00:17:48 +0200
committerMarius Bakke <marius@gnu.org>2020-10-19 00:17:48 +0200
commit1a8f7a0f584e5dd6e8f1a379b92f689b71902295 (patch)
tree8586450fc3068b217e60a7e942fa4c7d89ad74e7 /gnu/packages/patches/java-xerces-xjavac_taskdef.patch
parent19d42e0e23a7f90ac2dcc1c279bd23a967ff0314 (diff)
parent2a4f3c1711fdb947e615b5a89e285421b3bf0925 (diff)
downloadguix-1a8f7a0f584e5dd6e8f1a379b92f689b71902295.tar.gz
guix-1a8f7a0f584e5dd6e8f1a379b92f689b71902295.zip
Merge branch 'master' into staging
Diffstat (limited to 'gnu/packages/patches/java-xerces-xjavac_taskdef.patch')
0 files changed, 0 insertions, 0 deletions