attrib: Add extra PDU checks when decoding Read by Type Response
attrib: Add extra PDU checks when decoding Read by Type Response

These checks are needed to avoid invalid memory access on bogus PDUs.

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