Skip to content

Conversation

jhedberg
Copy link
Member

@jhedberg jhedberg commented May 2, 2020

The last parameter to hci_cmd_done() is expected to be a valid net_buf
since the function immediately tries to dereference it. Fix this by
passing the appropriate buffer reference to the function.

Signed-off-by: Johan Hedberg [email protected]

The last parameter to hci_cmd_done() is expected to be a valid net_buf
since the function immediately tries to dereference it. Fix this by
passing the appropriate buffer reference to the function.

Signed-off-by: Johan Hedberg <[email protected]>
@jhedberg jhedberg added bug The issue is a bug, or the PR is fixing a bug area: Bluetooth labels May 2, 2020
@jhedberg jhedberg requested review from d3zd3z, ceolin and carlescufi May 2, 2020 13:07
@jhedberg jhedberg requested review from joerchan and Vudentz as code owners May 2, 2020 13:07
@wopu-ot
Copy link
Contributor

wopu-ot commented May 4, 2020

It looks like this is also an issue in 2.2. Will you backport the fix?

@jhedberg
Copy link
Member Author

jhedberg commented May 4, 2020

It looks like this is also an issue in 2.2. Will you backport the fix?

Yes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: Bluetooth bug The issue is a bug, or the PR is fixing a bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants