dtprintinfo: correct another possible buffer overflow