Fix possible invalid read.
Fix possible invalid read.

The unitSize were being used as the string length when in fact it is
always one byte bigger than the length where the extra byte is allocated
for the dtd.

pstglia/external-bluetooth-bluez,pkarasev3/bluez,mapfau/bluez,pkarasev3/bluez,ComputeCycles/bluez,pkarasev3/bluez,pstglia/external-bluetooth-bluez,silent-snowman/bluez,mapfau/bluez,mapfau/bluez,silent-snowman/bluez,ComputeCycles/bluez,silent-snowman/bluez,ComputeCycles/bluez,pstglia/external-bluetooth-bluez,mapfau/bluez,pstglia/external-bluetooth-bluez,pkarasev3/bluez,silent-snowman/bluez,ComputeCycles/bluez