ble-nrf51822
ble-nrf51822 copied to clipboard
It is possible to overflow a descriptor capacity
If a characteristic descriptor has been instantiated with a fixed size, it should not be possible for a client to write this descriptor with a value longer than what has been provisioned.
Unfortunately, it is possible for a client to write 5 bytes in a descriptor even if the descriptor size is 4 bytes.
Reproducible by running DescriptorReadWrite_test_09.
ARM Internal Ref: IOTSFW-2378