Fix enc_read_by_type_resp accessing invalid memory
Fix enc_read_by_type_resp accessing invalid memory

We should always make sure that the buffer has room to hold at
least one element.

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