[ITC][Bluetooth][Non-ACR] Fix asan issue 53/278653/1
authorWootak Jung <wootak.jung@samsung.com>
Mon, 25 Jul 2022 00:03:02 +0000 (09:03 +0900)
committerWootak Jung <wootak.jung@samsung.com>
Mon, 25 Jul 2022 00:04:13 +0000 (09:04 +0900)
Change-Id: I955842dd26519b20b5a0649711d3b30791db0480

src/itc/bluetooth/ITs-bluetooth-adapter.c

index 0b84c1030cbed843b3268499177ae849264b9296..6a5ffdfe274e24e8e26c9a6d6433ce88933e1d48 100755 (executable)
@@ -763,7 +763,7 @@ int ITc_bluetooth_adapter_bt_adapter_get_local_oob_data_p(void)
        }
        else
        {
-               FPRINTF("[Line : %d][%s] Get hash value : %s\\n", __LINE__, API_NAMESPACE, pszHash);
+               FPRINTF("[Line : %d][%s] Get hash value len : %d\\n", __LINE__, API_NAMESPACE, nHashLength);
                FREE_MEMORY(pszHash);
        }
 
@@ -774,7 +774,7 @@ int ITc_bluetooth_adapter_bt_adapter_get_local_oob_data_p(void)
        }
        else
        {
-               FPRINTF("[Line : %d][%s] Get randomizer value : %s\\n", __LINE__, API_NAMESPACE, pszRandomizer);
+               FPRINTF("[Line : %d][%s] Get randomizer value len : %d\\n", __LINE__, API_NAMESPACE, nRandomizerLength);
                FREE_MEMORY(pszRandomizer);
        }
        return 0;