Parent: 0a1159dc105533e3f07cd252d1fd271967d8f4d6
Author: Bastien Nocera <hadess@hadess.net>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2024-05-16 23:36:37
Tree: e661b5e762b462c8a3f85d16ca5825be62052dc2
shared/gatt-client: Fix uninitialised variable usage Error: UNINIT (CWE-457): [#def44] [important] src/shared/gatt-client.c:1669:2: var_decl: Declaring variable "value" without initializer. src/shared/gatt-client.c:1686:2: uninit_use_in_call: Using uninitialized value "value" when calling "bt_gatt_client_write_value". 1684| } 1685| 1686|-> att_id = bt_gatt_client_write_value(notify_data->client, 1687| notify_data->chrc->ccc_handle, 1688| (void *)&value, sizeof(value),
Diffstat
| M | src/shared/gatt-client.c | | | 2 | +- |
1 files changed, 1 insertions(+), 1 deletions(-)