dcmtk.git
7 months agoMerge version 3.6.9-4+rpi1 and 3.6.9-5 to produce 3.6.9-5+rpi1 trixie-staging archive/raspbian/3.6.9-5+rpi1 raspbian/3.6.9-5+rpi1
Raspbian automatic forward porter [Thu, 1 May 2025 02:35:22 +0000 (03:35 +0100)]
Merge version 3.6.9-4+rpi1 and 3.6.9-5 to produce 3.6.9-5+rpi1

8 months agoMerge dcmtk (3.6.9-5) import into refs/heads/workingbranch
Mathieu Malaterre [Fri, 21 Mar 2025 11:45:44 +0000 (12:45 +0100)]
Merge dcmtk (3.6.9-5) import into refs/heads/workingbranch

8 months agoFixed segfault in JPEG-LS decoder.
Marco Eichelberg [Mon, 3 Mar 2025 10:33:18 +0000 (11:33 +0100)]
Fixed segfault in JPEG-LS decoder.

X-Git-Url: http://git.dcmtk.org/?p=dcmtk.git;a=commitdiff_plain;h=3239a791542e1ea433d23aaa9e0a05a532ffabff;hp=92fc86e9e8d0808880bcc82e25982b2a61323cb8

Fixed segfault in JPEG-LS decoder.

Fixed a bug in the JPEG-LS decoder that led to a segmentation fault if invalid
input data was processed, due to insufficient validation of input data.

Thanks to Ding zhengzheng <xiaozheng.ding399@gmail.com> for the report
and the sample file (PoC).

This closes DCMTK issue #1155.

Gbp-Pq: Name 0012-CVE-2025-2357.patch

8 months agoCVE-2025-25472
Debian Med Packaging Team [Fri, 21 Mar 2025 11:45:44 +0000 (12:45 +0100)]
CVE-2025-25472

commit 410ffe2019b9db6a8f4036daac742a6f5e4d36c2
Author: Joerg Riesmeier <dicom@jriesmeier.com>
Date:   Fri Jan 17 17:53:50 2025 +0100

    Fixed another issue with invalid mono images.

    Fixed issue when rendering an invalid monochrome DICOM image where the
    number of pixels stored does not match the expected number of pixels.
    In this case, only a single pixel is processed, but the pixel matrix is
    much larger. Filling the rest of the pixel matrix with the smallest
    possible value for the image is not working because of an optimized
    memory usage (value would be out of range). Now, the pixel value to be
    used is double-checked before it is actually filled into the "background"
    of the image.

    Thanks to Ding zhengzheng <xiaozheng.ding399@gmail.com> for the report
    and the sample file (PoC).

Gbp-Pq: Name 0011-CVE-2025-25472.patch

8 months agoCVE-2025-25474
Debian Med Packaging Team [Fri, 21 Mar 2025 11:45:44 +0000 (12:45 +0100)]
CVE-2025-25474

commit 1d205bcd307164c99e0d4bbf412110372658d847
Author: Joerg Riesmeier <dicom@jriesmeier.com>
Date:   Tue Jan 21 11:12:28 2025 +0100

    Fixed another issue with invalid DICOM images.

    Fixed issue when processing an invalid DICOM image where the number of
    pixels stored does not match the expected number of pixels (too less)
    and the combination of BitsAllocated and BitsStored is really unusual
    (e.g. 1 bit stored, but 52 bits allocated). In cases where the last
    pixel (e.g. a single bit) does not fit into the buffer of the input
    pixel data, a buffer overflow occurred on the heap. Now, the last entry
    of the buffer is filled with the smallest possible value (e.g. 0 in case
    of unsigned data).

    Thanks to Ding zhengzheng <xiaozheng.ding399@gmail.com> for the report
    and the sample file (PoC).

Gbp-Pq: Name 0010-CVE-2025-25474.patch

8 months agoCVE-2025-25475
Debian Med Packaging Team [Fri, 21 Mar 2025 11:45:44 +0000 (12:45 +0100)]
CVE-2025-25475

commit bffa3e9116abb7038b432443f16b1bd390e80245
Author: Marco Eichelberg <eichelberg@offis.de>
Date:   Thu Jan 23 15:51:21 2025 +0100

    Fixed issue with invalid RLE compressed DICOM images.

    Fixed issue when processing an RLE compressed image where the RLE header
    contains an invalid stripe size.

    Thanks to Ding zhengzheng <xiaozheng.ding399@gmail.com> for the report
    and the sample file (PoC).

Gbp-Pq: Name 0009-CVE-2025-25475.patch

8 months agoAdded check to make sure: HighBit < BitsAllocated.
Joerg Riesmeier [Fri, 21 Mar 2025 11:45:44 +0000 (12:45 +0100)]
Added check to make sure: HighBit < BitsAllocated.

Forwarded: https://git.dcmtk.org/?p=dcmtk.git;a=commit;h=03e851b0586d05057c3268988e180ffb426b2e03
Bug-Debian: https://bugs.debian.org/1093047
Reviewed-By: Étienne Mollier <emollier@debian.org>
Last-Update: 2025-01-18

Added check to the image preprocessing to make sure that the value of
HighBit is always less than the value of BitsAllocated. Before, this
missing check could lead to memory corruption if an invalid combination
of values was retrieved from a malformed DICOM dataset.

Thanks to Emmanuel Tacheau from the Cisco Talos team
<vulndiscovery@external.cisco.com> for the report, sample file (PoC)
and detailed analysis. See TALOS-2024-2121 and CVE-2024-52333.

Gbp-Pq: Name 0008-CVE-2024-52333.patch

8 months agoFixed issue rendering invalid monochrome image.
Joerg Riesmeier [Fri, 21 Mar 2025 11:45:44 +0000 (12:45 +0100)]
Fixed issue rendering invalid monochrome image.

Forwarded: https://git.dcmtk.org/?p=dcmtk.git;a=commit;h=89a6e399f1e17d08a8bc8cdaa05b2ac9a50cd4f6
Bug-Debian: https://bugs.debian.org/1093043
Reviewed-By: Étienne Mollier <emollier@debian.org>
Last-Update: 2025-01-18

Fixed issue when rendering an invalid monochrome DICOM image where the
number of pixels stored does not match the expected number of pixels.
If the stored number is less than the expected number, the rest of the
pixel matrix for the intermediate representation was always filled with
the value 0. Under certain, very rare conditions, this could result in
memory problems reported by an Address Sanitizer (ASAN). Now, the rest
of the matrix is filled with the smallest possible value for the image.

Thanks to Emmanuel Tacheau from the Cisco Talos team
<vulndiscovery@external.cisco.com> for the original report, the sample
file (PoC) and further details. See TALOS-2024-2122 and CVE-2024-47796.

Gbp-Pq: Name 0007-CVE-2024-47796.patch

8 months agoRemove version
Mathieu Malaterre [Fri, 21 Mar 2025 11:45:44 +0000 (12:45 +0100)]
Remove version

Forwarded: not-needed
Bug-Debian: https://bugs.debian.org/1098944
Last-Update: 2025-03-21

Gbp-Pq: Name remove_version.patch

8 months agoDon't add executables to cmake exports
Gert Wollny [Fri, 21 Mar 2025 11:45:44 +0000 (12:45 +0100)]
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

8 months agoThe original maintainer Jürgen Salk applied
Jürgen Salk [Fri, 21 Mar 2025 11:45:44 +0000 (12:45 +0100)]
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

8 months agodcmtk (3.6.9-5) unstable; urgency=medium
Mathieu Malaterre [Fri, 21 Mar 2025 11:45:44 +0000 (12:45 +0100)]
dcmtk (3.6.9-5) unstable; urgency=medium

  * d/control: relax dependency on dcmtk-data. Closes: #1098944
  * 0012-CVE-2025-2357.patch: new: fix CVE-2025-2357. (Closes: #1100724)
  * documentation: Spring cleanups. Closes: #1095639

[dgit import unpatched dcmtk 3.6.9-5]

8 months agoImport dcmtk_3.6.9-5.debian.tar.xz
Mathieu Malaterre [Fri, 21 Mar 2025 11:45:44 +0000 (12:45 +0100)]
Import dcmtk_3.6.9-5.debian.tar.xz

[dgit import tarball dcmtk 3.6.9-5 dcmtk_3.6.9-5.debian.tar.xz]

9 months agoMerge version 3.6.8-6+rpi1 and 3.6.9-4 to produce 3.6.9-4+rpi1 archive/raspbian/3.6.9-4+rpi1 raspbian/3.6.9-4+rpi1
Raspbian automatic forward porter [Fri, 7 Mar 2025 04:12:06 +0000 (04:12 +0000)]
Merge version 3.6.8-6+rpi1 and 3.6.9-4 to produce 3.6.9-4+rpi1

9 months agoDeclare fast forward from 3.6.9-3
Étienne Mollier [Wed, 19 Feb 2025 21:30:57 +0000 (22:30 +0100)]
Declare fast forward from 3.6.9-3

[dgit --quilt=gbp --overwrite]

9 months agoCVE-2025-25472
Debian Med Packaging Team [Wed, 19 Feb 2025 21:30:57 +0000 (22:30 +0100)]
CVE-2025-25472

commit 410ffe2019b9db6a8f4036daac742a6f5e4d36c2
Author: Joerg Riesmeier <dicom@jriesmeier.com>
Date:   Fri Jan 17 17:53:50 2025 +0100

    Fixed another issue with invalid mono images.

    Fixed issue when rendering an invalid monochrome DICOM image where the
    number of pixels stored does not match the expected number of pixels.
    In this case, only a single pixel is processed, but the pixel matrix is
    much larger. Filling the rest of the pixel matrix with the smallest
    possible value for the image is not working because of an optimized
    memory usage (value would be out of range). Now, the pixel value to be
    used is double-checked before it is actually filled into the "background"
    of the image.

    Thanks to Ding zhengzheng <xiaozheng.ding399@gmail.com> for the report
    and the sample file (PoC).

Gbp-Pq: Name 0011-CVE-2025-25472.patch

9 months agoCVE-2025-25474
Debian Med Packaging Team [Wed, 19 Feb 2025 21:30:57 +0000 (22:30 +0100)]
CVE-2025-25474

commit 1d205bcd307164c99e0d4bbf412110372658d847
Author: Joerg Riesmeier <dicom@jriesmeier.com>
Date:   Tue Jan 21 11:12:28 2025 +0100

    Fixed another issue with invalid DICOM images.

    Fixed issue when processing an invalid DICOM image where the number of
    pixels stored does not match the expected number of pixels (too less)
    and the combination of BitsAllocated and BitsStored is really unusual
    (e.g. 1 bit stored, but 52 bits allocated). In cases where the last
    pixel (e.g. a single bit) does not fit into the buffer of the input
    pixel data, a buffer overflow occurred on the heap. Now, the last entry
    of the buffer is filled with the smallest possible value (e.g. 0 in case
    of unsigned data).

    Thanks to Ding zhengzheng <xiaozheng.ding399@gmail.com> for the report
    and the sample file (PoC).

Gbp-Pq: Name 0010-CVE-2025-25474.patch

9 months agoCVE-2025-25475
Debian Med Packaging Team [Wed, 19 Feb 2025 21:30:57 +0000 (22:30 +0100)]
CVE-2025-25475

commit bffa3e9116abb7038b432443f16b1bd390e80245
Author: Marco Eichelberg <eichelberg@offis.de>
Date:   Thu Jan 23 15:51:21 2025 +0100

    Fixed issue with invalid RLE compressed DICOM images.

    Fixed issue when processing an RLE compressed image where the RLE header
    contains an invalid stripe size.

    Thanks to Ding zhengzheng <xiaozheng.ding399@gmail.com> for the report
    and the sample file (PoC).

Gbp-Pq: Name 0009-CVE-2025-25475.patch

9 months agoAdded check to make sure: HighBit < BitsAllocated.
Joerg Riesmeier [Wed, 19 Feb 2025 21:30:57 +0000 (22:30 +0100)]
Added check to make sure: HighBit < BitsAllocated.

Forwarded: https://git.dcmtk.org/?p=dcmtk.git;a=commit;h=03e851b0586d05057c3268988e180ffb426b2e03
Bug-Debian: https://bugs.debian.org/1093047
Reviewed-By: Étienne Mollier <emollier@debian.org>
Last-Update: 2025-01-18

Added check to the image preprocessing to make sure that the value of
HighBit is always less than the value of BitsAllocated. Before, this
missing check could lead to memory corruption if an invalid combination
of values was retrieved from a malformed DICOM dataset.

Thanks to Emmanuel Tacheau from the Cisco Talos team
<vulndiscovery@external.cisco.com> for the report, sample file (PoC)
and detailed analysis. See TALOS-2024-2121 and CVE-2024-52333.

Gbp-Pq: Name 0008-CVE-2024-52333.patch

9 months agoFixed issue rendering invalid monochrome image.
Joerg Riesmeier [Wed, 19 Feb 2025 21:30:57 +0000 (22:30 +0100)]
Fixed issue rendering invalid monochrome image.

Forwarded: https://git.dcmtk.org/?p=dcmtk.git;a=commit;h=89a6e399f1e17d08a8bc8cdaa05b2ac9a50cd4f6
Bug-Debian: https://bugs.debian.org/1093043
Reviewed-By: Étienne Mollier <emollier@debian.org>
Last-Update: 2025-01-18

Fixed issue when rendering an invalid monochrome DICOM image where the
number of pixels stored does not match the expected number of pixels.
If the stored number is less than the expected number, the rest of the
pixel matrix for the intermediate representation was always filled with
the value 0. Under certain, very rare conditions, this could result in
memory problems reported by an Address Sanitizer (ASAN). Now, the rest
of the matrix is filled with the smallest possible value for the image.

Thanks to Emmanuel Tacheau from the Cisco Talos team
<vulndiscovery@external.cisco.com> for the original report, the sample
file (PoC) and further details. See TALOS-2024-2122 and CVE-2024-47796.

Gbp-Pq: Name 0007-CVE-2024-47796.patch

9 months agoRemove version
Mathieu Malaterre [Wed, 19 Feb 2025 21:30:57 +0000 (22:30 +0100)]
Remove version

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

Gbp-Pq: Name remove_version.patch

9 months agoDon't add executables to cmake exports
Gert Wollny [Wed, 19 Feb 2025 21:30:57 +0000 (22:30 +0100)]
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

9 months agoThe original maintainer Jürgen Salk applied
Jürgen Salk [Wed, 19 Feb 2025 21:30:57 +0000 (22:30 +0100)]
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

9 months agod/changelog: ready for upload to unstable.
Étienne Mollier [Wed, 19 Feb 2025 21:31:16 +0000 (22:31 +0100)]
d/changelog: ready for upload to unstable.

9 months ago0011-CVE-2025-25472.patch: new: fix CVE-2025-25472.
Étienne Mollier [Wed, 19 Feb 2025 21:30:36 +0000 (22:30 +0100)]
0011-CVE-2025-25472.patch: new: fix CVE-2025-25472.

9 months agod/changelog: unrelease.
Étienne Mollier [Wed, 19 Feb 2025 21:29:40 +0000 (22:29 +0100)]
d/changelog: unrelease.

9 months agod/changelog: ready for upload to unstable.
Étienne Mollier [Wed, 19 Feb 2025 20:57:06 +0000 (21:57 +0100)]
d/changelog: ready for upload to unstable.

9 months ago0010-CVE-2025-25474.patch: new: fix CVE-2025-25474.
Étienne Mollier [Wed, 19 Feb 2025 20:54:45 +0000 (21:54 +0100)]
0010-CVE-2025-25474.patch: new: fix CVE-2025-25474.

Closes: #1098374
9 months ago0009-CVE-2025-25475.patch: new: fix CVE-2025-25475.
Étienne Mollier [Wed, 19 Feb 2025 20:54:09 +0000 (21:54 +0100)]
0009-CVE-2025-25475.patch: new: fix CVE-2025-25475.

Closes: #1098373
9 months agoReinstate 0007-CVE-2024-47796.patch and 0008-CVE-2024-52333.patch.
Étienne Mollier [Wed, 19 Feb 2025 20:20:38 +0000 (21:20 +0100)]
Reinstate 0007-CVE-2024-47796.patch and 0008-CVE-2024-52333.patch.

These were not part of dcmtk 3.6.9 upstream and still apply.

Thanks: Salvatore Bonaccorso

9 months agod/changelog: Upload 3.6.9-3 to unstable
Mathieu Malaterre [Tue, 18 Feb 2025 11:05:49 +0000 (12:05 +0100)]
d/changelog: Upload 3.6.9-3 to unstable

9 months agoRecord dcmtk (3.6.9-3) in archive suite sid
Mathieu Malaterre [Tue, 18 Feb 2025 11:05:41 +0000 (12:05 +0100)]
Record dcmtk (3.6.9-3) in archive suite sid

Record that
  3.6.9-3              Import of source package
should be treated as descended from
  3.6.8-6              dgit client's archive history view

9 months agoRemove version
Mathieu Malaterre [Tue, 18 Feb 2025 11:05:41 +0000 (12:05 +0100)]
Remove version

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

Gbp-Pq: Name remove_version.patch

9 months agoDon't add executables to cmake exports
Gert Wollny [Tue, 18 Feb 2025 11:05:41 +0000 (12:05 +0100)]
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

9 months agoThe original maintainer Jürgen Salk applied
Jürgen Salk [Tue, 18 Feb 2025 11:05:41 +0000 (12:05 +0100)]
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

9 months agodcmtk (3.6.9-3) unstable; urgency=medium
Mathieu Malaterre [Tue, 18 Feb 2025 11:05:41 +0000 (12:05 +0100)]
dcmtk (3.6.9-3) unstable; urgency=medium

  * d/patches: Remove old unused patches
  * d/doc: Make sure to reference 3.6.9 path
  * d/watch: Properly watch upstream on github

[dgit import unpatched dcmtk 3.6.9-3]

9 months agoImport dcmtk_3.6.9-3.debian.tar.xz
Mathieu Malaterre [Tue, 18 Feb 2025 11:05:41 +0000 (12:05 +0100)]
Import dcmtk_3.6.9-3.debian.tar.xz

[dgit import tarball dcmtk 3.6.9-3 dcmtk_3.6.9-3.debian.tar.xz]

9 months agod/watch: Properly watch upstream on github
Mathieu Malaterre [Tue, 18 Feb 2025 11:05:01 +0000 (12:05 +0100)]
d/watch: Properly watch upstream on github

9 months agod/doc: Make sure to reference 3.6.9 path
Mathieu Malaterre [Tue, 18 Feb 2025 11:03:39 +0000 (12:03 +0100)]
d/doc: Make sure to reference 3.6.9 path

9 months agod/patches: Remove old unused patches
Mathieu Malaterre [Tue, 18 Feb 2025 11:03:04 +0000 (12:03 +0100)]
d/patches: Remove old unused patches

10 months agod/changelog: Upload 3.6.9-2 to experimental
Mathieu Malaterre [Tue, 11 Feb 2025 07:12:57 +0000 (08:12 +0100)]
d/changelog: Upload 3.6.9-2 to experimental

10 months agod/t/run-unit-test: Adapt to new installation
Mathieu Malaterre [Tue, 11 Feb 2025 07:08:43 +0000 (08:08 +0100)]
d/t/run-unit-test: Adapt to new installation

10 months agod/changelog: Upload 3.6.9-1 to experimental
Mathieu Malaterre [Thu, 30 Jan 2025 12:17:16 +0000 (13:17 +0100)]
d/changelog: Upload 3.6.9-1 to experimental

10 months agoImport dcmtk_3.6.9.orig.tar.gz
Mathieu Malaterre [Thu, 30 Jan 2025 12:16:59 +0000 (13:16 +0100)]
Import dcmtk_3.6.9.orig.tar.gz

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

10 months agoMerge branch 'master' into debian/experimental
Mathieu Malaterre [Thu, 30 Jan 2025 12:15:11 +0000 (13:15 +0100)]
Merge branch 'master' into debian/experimental

10 months agod/patches: Refresh patches
Mathieu Malaterre [Thu, 30 Jan 2025 10:42:13 +0000 (11:42 +0100)]
d/patches: Refresh patches

10 months agod/install: Migrate to new SOVERSION
Mathieu Malaterre [Thu, 30 Jan 2025 10:48:30 +0000 (11:48 +0100)]
d/install: Migrate to new SOVERSION

10 months agoUpdate upstream source from tag 'upstream/3.6.9'
Mathieu Malaterre [Thu, 30 Jan 2025 10:38:21 +0000 (11:38 +0100)]
Update upstream source from tag 'upstream/3.6.9'

Update to upstream version '3.6.9'
with Debian dir 6c3bd68558195e7a06972f9cf791344eb75eae8c

10 months agoNew upstream version 3.6.9
Mathieu Malaterre [Thu, 30 Jan 2025 10:38:21 +0000 (11:38 +0100)]
New upstream version 3.6.9

10 months agod/changelog: ready for upload to unstable.
Étienne Mollier [Sat, 18 Jan 2025 15:58:27 +0000 (16:58 +0100)]
d/changelog: ready for upload to unstable.

10 months ago0008-CVE-2024-52333.patch: new.
Étienne Mollier [Sat, 18 Jan 2025 15:00:29 +0000 (16:00 +0100)]
0008-CVE-2024-52333.patch: new.

This patch addresses CVE-2024-52333.

Closes: #1093047
10 months ago0007-CVE-2024-47796.patch: new.
Étienne Mollier [Sat, 18 Jan 2025 10:55:22 +0000 (11:55 +0100)]
0007-CVE-2024-47796.patch: new.

This patch addresses CVE-2024-47796.

Closes: #1093043
10 months ago0004-Fixed-two-segmentation-faults.patch: unfuzz.
Étienne Mollier [Sat, 18 Jan 2025 10:54:32 +0000 (11:54 +0100)]
0004-Fixed-two-segmentation-faults.patch: unfuzz.

10 months ago0001-Fixed-unchecked-typecasts-of-DcmItem-search-results.patch
Étienne Mollier [Sat, 18 Jan 2025 10:54:16 +0000 (11:54 +0100)]
0001-Fixed-unchecked-typecasts-of-DcmItem-search-results.patch

Patch refreshed.

14 months agoMerge version 3.6.7-13+rpi1 and 3.6.8-6 to produce 3.6.8-6+rpi1 archive/raspbian/3.6.8-6+rpi1 raspbian/3.6.8-6+rpi1
Raspbian automatic forward porter [Wed, 2 Oct 2024 21:54:39 +0000 (22:54 +0100)]
Merge version 3.6.7-13+rpi1 and 3.6.8-6 to produce 3.6.8-6+rpi1

17 months agod/changelog: Upload 3.6.8-6 to unstable
Mathieu Malaterre [Mon, 8 Jul 2024 11:31:10 +0000 (13:31 +0200)]
d/changelog: Upload 3.6.8-6 to unstable

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 agoMerge dcmtk (3.6.8-6) import into refs/heads/workingbranch
Mathieu Malaterre [Mon, 8 Jul 2024 11:31:04 +0000 (13:31 +0200)]
Merge dcmtk (3.6.8-6) import into refs/heads/workingbranch

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 agod/patches: Fixed possible overflows when allocating memory. Closes: #1074483
Mathieu Malaterre [Mon, 8 Jul 2024 11:29:09 +0000 (13:29 +0200)]
d/patches: Fixed possible overflows when allocating memory. Closes: #1074483

17 months agod/t/run-unit-test: Fix unit-test for new release. Closes: #1075917
Mathieu Malaterre [Mon, 8 Jul 2024 11:26:25 +0000 (13:26 +0200)]
d/t/run-unit-test: Fix unit-test for new release. Closes: #1075917

17 months agod/changelog: Upload 3.6.8-5 to unstable
Mathieu Malaterre [Fri, 5 Jul 2024 09:24:34 +0000 (11:24 +0200)]
d/changelog: Upload 3.6.8-5 to unstable

17 months agod/control: Bump Std-Vers to 4.7.0 no changes needed
Mathieu Malaterre [Fri, 5 Jul 2024 09:23:41 +0000 (11:23 +0200)]
d/control: Bump Std-Vers to 4.7.0 no changes needed

17 months agod/changelog: Upload 3.6.8-4 to experimental
Mathieu Malaterre [Mon, 24 Jun 2024 18:44:16 +0000 (20:44 +0200)]
d/changelog: Upload 3.6.8-4 to experimental

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]

17 months agoMerge branch 'master' into debian/experimental
Mathieu Malaterre [Mon, 24 Jun 2024 11:39:37 +0000 (11:39 +0000)]
Merge branch 'master' into debian/experimental

17 months agoUpload for unstable as 3.6.7-15
Santiago Vila [Mon, 24 Jun 2024 10:30:00 +0000 (12:30 +0200)]
Upload for unstable as 3.6.7-15

17 months agoUpdate two of the previously applied patches to avoid breaking the ABI. Closes: ...
Santiago Vila [Mon, 24 Jun 2024 10:25:00 +0000 (12:25 +0200)]
Update two of the previously applied patches to avoid breaking the ABI. Closes: #1070207.

The updated patches are:

0001-Fixed-unchecked-typecasts-of-DcmItem-search-results.patch
0003-Fixed-wrong-error-handling-previous-commit.patch

17 months agoMerge dcmtk (3.6.7-13+rpi1) import into refs/heads/workingbranch
Peter Michael Green [Wed, 19 Jun 2024 20:44:47 +0000 (20:44 +0000)]
Merge dcmtk (3.6.7-13+rpi1) import into refs/heads/workingbranch

17 months ago[PATCH] Fixed memory leak in single process mode.
Marco Eichelberg [Thu, 9 Jun 2022 08:03:38 +0000 (10:03 +0200)]
[PATCH] Fixed memory leak in single process mode.

Fixed a memory leak in dcmqrscp's single process mode.

Thanks to <songxiangpu@mail.sdu.edu.cn> for the bug report and test data.

Gbp-Pq: Name c34f4e46e672ad21accf04da0dc085e43be6f5e1.patch

17 months ago[PATCH] Fixed path traversal vulnerability.
Marco Eichelberg [Fri, 6 May 2022 15:30:02 +0000 (17:30 +0200)]
[PATCH] Fixed path traversal vulnerability.

Thanks to Sharon Brizinov >sharon.b@claroty.com> and Noam Moshe from
Claroty Research for the bug report and sample files.

This closes DCMTK issue #1021.

Gbp-Pq: Name f06a867513524664a1b03dfcf812d8b60fdd02cc.patch

17 months agoDon't add executables to cmake exports
Gert Wollny [Wed, 19 Jun 2024 20:44:47 +0000 (20:44 +0000)]
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 agoInstall dict to versioned dir
Mathieu Malaterre [Wed, 19 Jun 2024 20:44:47 +0000 (20:44 +0000)]
Install dict to versioned dir

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

Gbp-Pq: Name 03_datadic_install.patch

17 months agoThe original maintainer Jürgen Salk applied
Jürgen Salk [Wed, 19 Jun 2024 20:44:47 +0000 (20:44 +0000)]
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.7-13+rpi1) trixie-staging; urgency=medium
Peter Michael Green [Wed, 19 Jun 2024 20:44:47 +0000 (20:44 +0000)]
dcmtk (3.6.7-13+rpi1) trixie-staging; urgency=medium

  * Disable stack clash protection, it causes assembler errors on raspbian.

[dgit import unpatched dcmtk 3.6.7-13+rpi1]

17 months agoImport dcmtk_3.6.7-13+rpi1.debian.tar.xz
Peter Michael Green [Wed, 19 Jun 2024 20:44:47 +0000 (20:44 +0000)]
Import dcmtk_3.6.7-13+rpi1.debian.tar.xz

[dgit import tarball dcmtk 3.6.7-13+rpi1 dcmtk_3.6.7-13+rpi1.debian.tar.xz]

18 months agoUpload for unstable as 3.6.7-14
Santiago Vila [Wed, 5 Jun 2024 12:30:00 +0000 (14:30 +0200)]
Upload for unstable as 3.6.7-14

18 months agoApply patches from NMU proposal by Adrian Bunk to address CVE-2024-28130, CVE-2024...
Santiago Vila [Wed, 5 Jun 2024 12:30:00 +0000 (14:30 +0200)]
Apply patches from NMU proposal by Adrian Bunk to address CVE-2024-28130, CVE-2024-34508 and CVE-2024-34509. Closes: #1070207.

19 months agodrop salsa-ci.yml in favor of the default configuration from pipeline repository
Andreas Beckmann [Fri, 26 Apr 2024 13:22:20 +0000 (15:22 +0200)]
drop salsa-ci.yml in favor of the default configuration from pipeline repository

19 months agobuild reproducibly without rpath and set LD_LIBRARY_PATH for running tests
Andreas Beckmann [Fri, 26 Apr 2024 06:40:55 +0000 (08:40 +0200)]
build reproducibly without rpath and set LD_LIBRARY_PATH for running tests

19 months agoremoved embedded build path from DCMTKConfig.cmake
Andreas Beckmann [Thu, 25 Apr 2024 14:33:34 +0000 (16:33 +0200)]
removed embedded build path from DCMTKConfig.cmake

20 months ago[armhf,armel] No need to drop graphviz from build-depends-indep
Emanuele Rocca [Fri, 22 Mar 2024 10:13:37 +0000 (11:13 +0100)]
[armhf,armel] No need to drop graphviz from build-depends-indep

Build-Depends-Indep are only used to build the arch:all packages, and currently
all the arch:all autobuilder run on amd64.

20 months agoMerge dcmtk (3.6.7-13) import into refs/heads/workingbranch
Michael R. Crusoe [Tue, 19 Mar 2024 14:24:15 +0000 (15:24 +0100)]
Merge dcmtk (3.6.7-13) import into refs/heads/workingbranch

20 months agoroutine-update: Ready to upload to unstable
Michael R. Crusoe [Tue, 19 Mar 2024 14:24:15 +0000 (15:24 +0100)]
routine-update: Ready to upload to unstable

20 months ago[PATCH] Fixed memory leak in single process mode.
Marco Eichelberg [Thu, 9 Jun 2022 08:03:38 +0000 (10:03 +0200)]
[PATCH] Fixed memory leak in single process mode.

Fixed a memory leak in dcmqrscp's single process mode.

Thanks to <songxiangpu@mail.sdu.edu.cn> for the bug report and test data.

Gbp-Pq: Name c34f4e46e672ad21accf04da0dc085e43be6f5e1.patch

20 months ago[PATCH] Fixed path traversal vulnerability.
Marco Eichelberg [Fri, 6 May 2022 15:30:02 +0000 (17:30 +0200)]
[PATCH] Fixed path traversal vulnerability.

Thanks to Sharon Brizinov >sharon.b@claroty.com> and Noam Moshe from
Claroty Research for the bug report and sample files.

This closes DCMTK issue #1021.

Gbp-Pq: Name f06a867513524664a1b03dfcf812d8b60fdd02cc.patch

20 months agoDon't add executables to cmake exports
Gert Wollny [Tue, 19 Mar 2024 14:24:15 +0000 (15:24 +0100)]
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

20 months agoInstall dict to versioned dir
Mathieu Malaterre [Tue, 19 Mar 2024 14:24:15 +0000 (15:24 +0100)]
Install dict to versioned dir

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

Gbp-Pq: Name 03_datadic_install.patch

20 months agoThe original maintainer Jürgen Salk applied
Jürgen Salk [Tue, 19 Mar 2024 14:24:15 +0000 (15:24 +0100)]
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

20 months agodcmtk (3.6.7-13) unstable; urgency=medium
Michael R. Crusoe [Tue, 19 Mar 2024 14:24:15 +0000 (15:24 +0100)]
dcmtk (3.6.7-13) unstable; urgency=medium

  * Team upload.
  * Marked Debian-specific patches as not needing forwarding to
    upstream.
  * d/control: add explicit dependency on libnsl-dev. Closes: #1066422.

[dgit import unpatched dcmtk 3.6.7-13]