Don't call property_get with too small buffer.
Fix build. Change-Id: Ic51c1d67e709559b61b6a45012ab02e5fb128a96
This commit is contained in:
parent
38adb6bfe5
commit
ddf29bbadc
|
@ -549,7 +549,7 @@ int wfc_util_qcom_check_config(unsigned char *nv_mac_addr)
|
|||
|
||||
#ifdef WFC_UTIL_FEAUTRE_COPY_NV_BIN
|
||||
char nv_bin_tempfile_name[50];
|
||||
char baseband[5];
|
||||
char baseband[PROPERTY_VALUE_MAX];
|
||||
|
||||
// Default use WCNSS_qcom_wlan_nv_flo.bin
|
||||
property_get("ro.boot.baseband", baseband, "apq");
|
||||
|
|
Loading…
Reference in New Issue