Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
gatt-server: Check pointer before memcpy
This adds a check before calling memcpy inside bt_gatt_server_send_notification, to avoid getting the following error in case the user wants to send an empty notification for an attribute: src/shared/gatt-server.c:1789:3: runtime error: null pointer passed as argument 2, which is declared to never be null
- Loading branch information