Bluedroid: Fixed Static Analysis Issues
Removed banned function.
Change-Id: I6b37df2988c472bef23a3ea42f6917f70b9ff565
CRs-Fixed: 890309
diff --git a/libbt-vendor/src/bt_vendor_qcom.c b/libbt-vendor/src/bt_vendor_qcom.c
index 22600f6..36b9fee 100644
--- a/libbt-vendor/src/bt_vendor_qcom.c
+++ b/libbt-vendor/src/bt_vendor_qcom.c
@@ -617,7 +617,7 @@
vnd_local_bd_addr[5]);
/*Update the property here so that It can be fetched at wcnss_filter*/
- sprintf(address, "%02x:%02x:%02x:%02x:%02x:%02x",
+ snprintf(address, sizeof(address), "%02x:%02x:%02x:%02x:%02x:%02x",
vnd_local_bd_addr[0],
vnd_local_bd_addr[1],
vnd_local_bd_addr[2],