Actions
Bug #1070
closedmissing check of fclose() return value can lead to defective DICOM files
Start date:
2023-03-24
Due date:
% Done:
100%
Estimated time:
4:00 h
Module:
Operating System:
Compiler:
Description
DCMTK does not check the return value of fclose() in most of the calls of this function.
However, fclose() can fail when a full filesystem causes the flushing of the file buffer to fail.
DCMTK does not detect this, does not report an error or warning, but the result is a defective file.
Reported 2023-03-23 by Christian Wetzel <wetzel@phoenix-pacs.de>.
Actions