Skip to content

Conversation

@sjanc
Copy link
Contributor

@sjanc sjanc commented Oct 28, 2021

bt_conn_unref() requires valid conn pointer but could be called with
NULL in case valid connection was not found in disconnect_eatt_chans().

Fixes #39851

Signed-off-by: Szymon Janc [email protected]

bt_conn_unref() requires valid conn pointer but could be called with
NULL in case valid connection was not found in disconnect_eatt_chans().

Fixes zephyrproject-rtos#39851

Signed-off-by: Szymon Janc <[email protected]>
@github-actions github-actions bot added the area: Tests Issues related to a particular existing or missing test label Oct 28, 2021
@sjanc sjanc added this to the v2.7.1 milestone Oct 28, 2021
@nashif nashif merged commit d0b02cd into zephyrproject-rtos:main Oct 29, 2021
@sjanc sjanc deleted the tester_null_conn branch October 29, 2021 14:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: Bluetooth area: Tests Issues related to a particular existing or missing test

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Coverity CID: 240242] Dereference after null check in tests/bluetooth/tester/src/l2cap.c

4 participants