Enet4 / dicom-rs

Rust implementation of the DICOM standard
https://dicom-rs.github.io
Apache License 2.0
414 stars 82 forks source link

[storescu] safeguard max PDU length check #281

Closed Enet4 closed 1 year ago

Enet4 commented 1 year ago

When deciding whether to put everything in a single PDU or in separate PDUs, make a calculation which does not panic if the negotiated maximum PDU length is too low.