You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by we...@apache.org on 2016/08/11 21:27:36 UTC

[36/50] [abbrv] incubator-mynewt-core git commit: BLE Host - Fix unit test SIGSEGV.

BLE Host - Fix unit test SIGSEGV.

An array was missing a '0' terminator.


Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/commit/02fa2d02
Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/tree/02fa2d02
Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/diff/02fa2d02

Branch: refs/heads/phyrx_no_mbuf
Commit: 02fa2d02029a99ec60513f67bef1b7357d1f9ce1
Parents: 16ead26
Author: Christopher Collins <cc...@apache.org>
Authored: Sun Aug 7 18:13:26 2016 -0700
Committer: William San Filippo <wi...@runtime.io>
Committed: Thu Aug 11 14:26:26 2016 -0700

----------------------------------------------------------------------
 net/nimble/host/src/test/ble_hs_test_util.c | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/02fa2d02/net/nimble/host/src/test/ble_hs_test_util.c
----------------------------------------------------------------------
diff --git a/net/nimble/host/src/test/ble_hs_test_util.c b/net/nimble/host/src/test/ble_hs_test_util.c
index 460642e..30926b6 100644
--- a/net/nimble/host/src/test/ble_hs_test_util.c
+++ b/net/nimble/host/src/test/ble_hs_test_util.c
@@ -802,6 +802,9 @@ ble_hs_test_util_set_our_irk(const uint8_t *irk, int fail_idx,
             BLE_HS_TEST_UTIL_LE_OPCODE(BLE_HCI_OCF_LE_ADD_RESOLV_LIST),
             ble_hs_test_util_exp_hci_status(3, fail_idx, hci_status),
         },
+        {
+            0
+        }
     }));
 
     rc = ble_hs_pvcy_set_our_irk(irk);