Skip to content

dicomweb json on metadata malforfated json Error #26

@hakancicektr

Description

@hakancicektr

Hello i were testing 1.5.0c
i found issue with dicomweb json on metadata there is problem with creating json response.
json response is invalid. there some values lost and json format damaged.
when i tried with 2 images study . its working (OHIF)
but if image more than 2 images json is malformated. OHIF throw Sopclass error.

here is sample.
"0020000D":{"vr":"UI","Value":["1.2.},"000.7.572041167.76106034234"]},"" malformated part
"0020000E":{"vr":"UI","Value":["1.3.46.670589.11.72012.5.0.3812.2017031407141108960"]}
,"00200011":{"vr":"IS","Value":[101]},
"00200012":{"vr":"IS","Value":[1]}
,"00200013":{"vr":"IS","Value":[9]

looks like sprintf mixing while putting values. i can provide more samples.

i am using centos 7 i couldnt complie servertask due compile errors. i tried to dgate rather it still work fine.

Problem looks like on dgate.cpp

static int luaserialize(lua_State *L) function.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions