mirror of
https://git.kernel.org/pub/scm/bluetooth/bluez.git
synced 2024-11-15 00:04:29 +08:00
4262170a79
Error: CHECKED_RETURN (CWE-252): [#def35] client/gatt.c:3191:3: check_return: Calling "write_value" without checking return value (as is done elsewhere 5 out of 6 times). client/gatt.c:2371:2: example_checked: Example 1: "write_value(&chrc->value_len, &chrc->value, value, value_len, aad->offset, chrc->max_val_len)" has its value checked in "write_value(&chrc->value_len, &chrc->value, value, value_len, aad->offset, chrc->max_val_len)". client/gatt.c:2502:2: example_checked: Example 2: "write_value(&chrc->value_len, &chrc->value, value, value_len, offset, chrc->max_val_len)" has its value checked in "write_value(&chrc->value_len, &chrc->value, value, value_len, offset, chrc->max_val_len)". client/gatt.c:2919:2: example_checked: Example 3: "write_value(&desc->value_len, &desc->value, value, value_len, offset, desc->max_val_len)" has its value checked in "write_value(&desc->value_len, &desc->value, value, value_len, offset, desc->max_val_len)". client/gatt.c:759:3: example_checked: Example 4: "write_value(&c->value_len, &c->value, value, value_len, offset, c->max_val_len)" has its value checked in "write_value(&c->value_len, &c->value, value, value_len, offset, c->max_val_len)". client/gatt.c:775:3: example_checked: Example 5: "write_value(&d->value_len, &d->value, value, value_len, offset, d->max_val_len)" has its value checked in "write_value(&d->value_len, &d->value, value, value_len, offset, d->max_val_len)". 3189| } 3190| 3191|-> write_value(&chrc->value_len, &chrc->value, value, len, 3192| 0, chrc->max_val_len); |
||
---|---|---|
.. | ||
scripts | ||
admin.c | ||
admin.h | ||
adv_monitor.c | ||
adv_monitor.h | ||
advertising.c | ||
advertising.h | ||
agent.c | ||
agent.h | ||
bluetoothctl-admin.rst | ||
bluetoothctl-advertise.rst | ||
bluetoothctl-endpoint.rst | ||
bluetoothctl-gatt.rst | ||
bluetoothctl-mgmt.rst | ||
bluetoothctl-monitor.rst | ||
bluetoothctl-player.rst | ||
bluetoothctl-scan.rst | ||
bluetoothctl-transport.rst | ||
bluetoothctl.rst | ||
display.c | ||
display.h | ||
gatt.c | ||
gatt.h | ||
main.c | ||
mgmt.c | ||
mgmt.h | ||
player.c | ||
player.h | ||
print.c | ||
print.h |