Skip to content

Commit

Permalink
XML containing inline binary content followed by empty attribute is p…
Browse files Browse the repository at this point in the history
…arsed incorrectly, with binary data being filled into the empty attribute fix dcm4che#698
  • Loading branch information
gunterze authored and zhongl committed Apr 28, 2020
1 parent 7c5cc72 commit 790b8f3
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -347,6 +347,7 @@ private void endDicomAttribute() throws SAXException {
bulkData = null;
} else if (inlineBinary) {
attrs.setBytes(privateCreator, tag, vr, getBytes());
inlineBinary = false;
} else {
String[] value = getStrings();
try {
Expand Down

0 comments on commit 790b8f3

Please sign in to comment.