tags 715011 patch tags 715011 confirmed thanks The code is broken: $ cat dcmqrdb/include/dcmtk/dcmqrdb/dcmqridx.h [...] char StudyInstanceUID [UI_MAX_LENGTH] ; should read instead: char StudyInstanceUID [UI_MAX_LENGTH+1] ; Thanks