Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs

Unsafe use of strncpy() in ble_ots_object_set_name()

In the nRF5 SDK, the ble_ots_object_set_name() function use strncpy() without adding a null-character to the destination.

Related