dcmtk.git
17 months agoFixed possible overflows when allocating memory.
Michael Onken [Tue, 20 Feb 2024 09:50:28 +0000 (10:50 +0100)]
Fixed possible overflows when allocating memory.

Thanks to GitHub user "bananabr" (Daniel Berredo) for the report and
suggested patch.

Gbp-Pq: Name 0006-Fixed-possible-overflows-when-allocating-memory.patch

17 months ago[PATCH] Fixed DcmDecimalString unit tests.
Marco Eichelberg [Wed, 13 Mar 2024 22:03:40 +0000 (23:03 +0100)]
[PATCH] Fixed DcmDecimalString unit tests.

Gbp-Pq: Name 0005-Fixed-DcmDecimalString-unit-tests.patch

17 months ago[PATCH] Fixed two segmentation faults.
Marco Eichelberg [Wed, 13 Mar 2024 16:15:58 +0000 (17:15 +0100)]
[PATCH] Fixed two segmentation faults.

Fixed two segmentations faults that could occur while processing an
invalid incoming DIMSE message due to insufficient error handling
causing a de-referenced NULL pointer.

Thanks to Nils Bars <nils.bars@rub.de> for the bug report and sample files.

This closes DCMTK issue #1114.

Gbp-Pq: Name 0004-Fixed-two-segmentation-faults.patch

17 months ago[PATCH] Fixed wrong error handling (previous commit).
Joerg Riesmeier [Mon, 22 Apr 2024 10:11:11 +0000 (12:11 +0200)]
[PATCH] Fixed wrong error handling (previous commit).

Fixed wrong error handling introduced with the previous commit.

Gbp-Pq: Name 0003-Fixed-wrong-error-handling-previous-commit.patch

17 months ago[PATCH] Fixed unchecked typecasts and fixed LUT handling.
Marco Eichelberg [Mon, 15 Apr 2024 10:19:33 +0000 (12:19 +0200)]
[PATCH] Fixed unchecked typecasts and fixed LUT handling.

This commit adds further fixes for unchecked typecasts of DcmItem::search()
results (see description of previous commit). Furthermore, this commit
specifically addresses the handling of look-up tables (LUTs) in module
dcmpstat, where attribute (0028,3006) LUTData may use either US or OW
value representation, and (0028,3002) LUTDescriptor may be either US or SS.
The code should now properly handle all permitted value representations.
LUTData is now always written as OW in order to avoid the 64k size limit
for US in explicit VR encoding.

Thanks to Martin Zeiser from the Cisco Talos team
<vulndiscovery@external.cisco.com> for the bug report (TALOS-2024-1957).

Together with the previous commit, this closes DCMTK issue #1120.

Gbp-Pq: Name 0002-Fixed-unchecked-typecasts-and-fixed-LUT-handling.patch

17 months ago[PATCH] Fixed unchecked typecasts of DcmItem::search results.
Marco Eichelberg [Mon, 15 Apr 2024 10:12:51 +0000 (12:12 +0200)]
[PATCH] Fixed unchecked typecasts of DcmItem::search results.

DcmItem::search() returns a stack of DcmObject pointers as search results.
These pointers in most instances need to be casted to DcmItem, DcmElement
or a subclass of these. In many cases, the type of the object was not
properly checked before the typecast. This could lead to segmentation faults
when invalid DICOM datasets were processed where elements had the wrong
value representation.

Gbp-Pq: Name 0001-Fixed-unchecked-typecasts-of-DcmItem-search-results.patch

17 months ago[PATCH] Fixed issue with delimiters being converted.
Joerg Riesmeier [Wed, 8 Nov 2023 10:38:54 +0000 (11:38 +0100)]
[PATCH] Fixed issue with delimiters being converted.

Fixed issue with delimiter character "\" being converted when converting
a DICOM dataset that uses a Specific Character Set of "ISO 2022 IR 13\ISO
2022 IR 87" to UTF-8. The delimiter "\" was incorrectly converted to the
Yen sign when processing the value of an "LO" data element that contains
multiple values but does not use any escape sequences. This issues has
been fixed now by always treating the delimiters in a special way.

Thanks to Mathieu Malaterre <mathieu.malaterre@gmail.com> for the report
and David Gobbi <david.gobbi@gmail.com> for the analysis and testing.

Gbp-Pq: Name da5370947226783ce3548bf1e5b7112fac70de46.patch

17 months agoRemove version
Mathieu Malaterre [Mon, 8 Jul 2024 11:31:04 +0000 (13:31 +0200)]
Remove version

Forwarded: not-needed
Last-Update: 2023-11-06

Gbp-Pq: Name remove_version.patch

17 months agoDon't add executables to cmake exports
Gert Wollny [Mon, 8 Jul 2024 11:31:04 +0000 (13:31 +0200)]
Don't add executables to cmake exports

Bug-Debian: https://bugs.debian.org/803304
Forwarded: not-needed

CMake exports are used by other packages that compile
and link against dcmtk. Because Debian moves some of
these executables and also dosn't install the test
executables, this import may fail leading to failure
to configure the according package.
===================================================================

Gbp-Pq: Name 07_dont_export_all_executables.patch

17 months agoThe original maintainer Jürgen Salk applied
Jürgen Salk [Mon, 8 Jul 2024 11:31:04 +0000 (13:31 +0200)]
The original maintainer Jürgen Salk applied

Forwarded: not-needed

a set of patches to the original code.  This file contains
changes to C++ code

Gbp-Pq: Name 01_dcmtk_3.6.0-1.patch

17 months agodcmtk (3.6.8-6) unstable; urgency=medium
Mathieu Malaterre [Mon, 8 Jul 2024 11:31:04 +0000 (13:31 +0200)]
dcmtk (3.6.8-6) unstable; urgency=medium

  * d/t/run-unit-test: Fix unit-test for new release. Closes: #1075917
  * d/patches: Fixed possible overflows when allocating memory. Closes: #1074483

[dgit import unpatched dcmtk 3.6.8-6]

17 months agoImport dcmtk_3.6.8-6.debian.tar.xz
Mathieu Malaterre [Mon, 8 Jul 2024 11:31:04 +0000 (13:31 +0200)]
Import dcmtk_3.6.8-6.debian.tar.xz

[dgit import tarball dcmtk 3.6.8-6 dcmtk_3.6.8-6.debian.tar.xz]

17 months agoImport dcmtk_3.6.8.orig.tar.gz
Mathieu Malaterre [Mon, 24 Jun 2024 18:43:54 +0000 (20:43 +0200)]
Import dcmtk_3.6.8.orig.tar.gz

[dgit import orig dcmtk_3.6.8.orig.tar.gz]