kamalasv / orthanc

Automatically exported from code.google.com/p/orthanc
GNU General Public License v3.0
0 stars 0 forks source link

Incorrect check #8

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
\OrthancServer\Internals\StoreScp.cpp 120
if (FromDcmtkBridge::SaveToMemoryBuffer(buffer, *imageDataSet) < 0)

function "FromDcmtkBridge::SaveToMemoryBuffer()" return bool
fix:
if (FromDcmtkBridge::SaveToMemoryBuffer(buffer, *imageDataSet) == false)

Original issue reported on code.google.com by 12maks...@gmail.com on 10 Sep 2013 at 10:38

GoogleCodeExporter commented 9 years ago
Many thanks for reporting this bug. This is fixed in the mainline:
https://code.google.com/p/orthanc/source/detail?r=d80376e73f52002bedb0ccc8b7adaa
c5d3c48f24

Original comment by s.jodo...@gmail.com on 10 Sep 2013 at 3:48