diff options
author | Matthew Xie <mattx@google.com> | 2012-06-14 13:46:33 -0700 |
---|---|---|
committer | Matthew Xie <mattx@google.com> | 2012-07-14 11:19:23 -0700 |
commit | 40a31cdd6472f1e56f5ee0626f97acaaf8401c6f (patch) | |
tree | b17a8b0c412aa0b3fe7ee9aac9a4ac1b33c0310b /btif | |
parent | 712e175a619a06012c7a17365e2ecb9f284cabda (diff) | |
download | external_bluetooth_bluedroid-40a31cdd6472f1e56f5ee0626f97acaaf8401c6f.zip external_bluetooth_bluedroid-40a31cdd6472f1e56f5ee0626f97acaaf8401c6f.tar.gz external_bluetooth_bluedroid-40a31cdd6472f1e56f5ee0626f97acaaf8401c6f.tar.bz2 |
fix strncat overflow compiler error
Diffstat (limited to 'btif')
-rwxr-xr-x | btif/src/btif_storage.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/btif/src/btif_storage.c b/btif/src/btif_storage.c index e20db60..bb18b85 100755 --- a/btif/src/btif_storage.c +++ b/btif/src/btif_storage.c @@ -1889,7 +1889,7 @@ bt_status_t btif_storage_add_device_to_autopair_blacklist(bt_bdaddr_t *remote_de char *value; int ret; bdstr_t bdstr; - char linebuf[BTIF_STORAGE_MAX_LINE_SZ]; + char linebuf[BTIF_STORAGE_MAX_LINE_SZ+20]; char input_value [20]; bd2str(remote_dev_addr, &bdstr); |