You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by GitBox <gi...@apache.org> on 2020/04/21 14:09:16 UTC

[GitHub] [mynewt-nimble] rymanluk commented on a change in pull request #802: ble_hs_misc_conn_chan_find_reqd() null pointer exception fix.

rymanluk commented on a change in pull request #802:
URL: https://github.com/apache/mynewt-nimble/pull/802#discussion_r412211998



##########
File path: nimble/host/src/ble_hs_misc.c
##########
@@ -66,14 +66,15 @@ ble_hs_misc_conn_chan_find_reqd(uint16_t conn_handle, uint16_t cid,
     int rc;
 
     rc = ble_hs_misc_conn_chan_find(conn_handle, cid, &conn, &chan);
-    BLE_HS_DBG_ASSERT_EVAL(rc == 0);

Review comment:
       We could exit here when `rc != 0`




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org