Actions
Bug #374
closedMistake in DcmElement::changeValue() leads to Segmentation Fault
Start date:
Due date:
% Done:
100%
Estimated time:
Module:
dcmdata
Operating System:
Compiler:
Description
http://forum.dcmtk.org/viewtopic.php?t=2226
Obviously memcpy() writes to an invalid memory region (Pointer == NULL).
We need to decide what should be done with elements with invalid group lengths (i.e. if VR! = UL and/or VM != 1)
=== Update JR ===
Unfortunately the problem with 'changeValue()' cannot be reproduced any longer... even when 'putUint32Array()' is converted into a 'putUint32()'.
=== Update JR ===
See also this post on another segfault: http://forum.dcmtk.org/viewtopic.php?f=1&t=3515
Actions