The bt_gatt_attr_read function did not properly handle cases where value is NULL and/or value_len is 0, or bad mixes of the two. The important part is here is that we do not perform the pointer arithmetic on NULL and/or call memcpy with a NULL src with a non-0 length. Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no> |
||
|---|---|---|
| .. | ||
| audio | ||
| common | ||
| controller | ||
| crypto | ||
| host | ||
| lib | ||
| mesh | ||
| services | ||
| shell | ||
| CMakeLists.txt | ||
| Kconfig | ||
| Kconfig.adv | ||
| Kconfig.iso | ||
| Kconfig.logging | ||