Fix valgrind error in TgcDigitASDposCondAlg
While working on something else using valgrind, I came across a bunch of "invalid read" errors originating in the TgcDigitASDposCondAlg
. Apparently the strings stored as blobs in the database are not (always) zero-terminated.
This MR solves this problem by using the blob.size()
to limit the number of chars copied from the blob to the std::string used later on.