Project

General

Profile

Actions

Bug #1114

closed

Segmentation fault while receiving invalid message

Added by Marco Eichelberg over 1 year ago. Updated over 1 year ago.

Status:
Closed
Priority:
Normal
Category:
Library and Apps
Target version:
Start date:
2024-03-13
Due date:
% Done:

100%

Estimated time:
Module:
dcmnet, dcmdata
Operating System:
Compiler:

Description

The dcmnet module may produce a segmentation fault due to a de-referenced NULL pointer while processing an invalid incoming DIMSE message.
Two places in the code are affected. The bugs can be reproduced as follows:

# Start the server
DCMDICTPATH=dicom.dic dcmrecv --config-file storescp.cfg Default -d 6789

# Trigger the bug
cat <input-hash> | nc 127.0.0.1 -p 6789 

All required files are attached below.

Reported 2024-03-14 by Nils Bars <>.


Files

dicom.dic (253 KB) dicom.dic Marco Eichelberg, 2024-03-13 17:13
storescp.cfg (33.1 KB) storescp.cfg Marco Eichelberg, 2024-03-13 17:13
063c0affa01105480bb591eaa099c6536271bde4 (16.8 KB) 063c0affa01105480bb591eaa099c6536271bde4 Input hash 1 Marco Eichelberg, 2024-03-13 17:13
e46e52126c03c2e5fc518b166c3adecb1d01de41 (16.5 KB) e46e52126c03c2e5fc518b166c3adecb1d01de41 Input hash 2 Marco Eichelberg, 2024-03-13 17:13
Actions #1

Updated by Marco Eichelberg over 1 year ago

  • % Done changed from 0 to 100
  • Private changed from Yes to No

Closed by commit #c78e434c0.

Actions #2

Updated by Marco Eichelberg over 1 year ago

  • Status changed from New to Closed

Closed by commit #c78e434c0.

Actions

Also available in: Atom PDF