diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2019-10-31 08:38:47 +0100 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2019-10-31 08:38:47 +0100 |
commit | 96a83c167e0ee88deb1bad527231cee54a0833b0 (patch) | |
tree | 36ec1f8ff1fbcfd3ef3d2d03029ec8d4221b0e8c /drivers | |
parent | 7528a6096d7afb4384193f1df737759135852f41 (diff) | |
download | ofono-96a83c167e0ee88deb1bad527231cee54a0833b0.tar.gz |
huawei: Increase string buffer to avoid overflow
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/huaweimodem/gprs-context.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/huaweimodem/gprs-context.c b/drivers/huaweimodem/gprs-context.c index 7e72ad92..de07b055 100644 --- a/drivers/huaweimodem/gprs-context.c +++ b/drivers/huaweimodem/gprs-context.c @@ -255,7 +255,7 @@ static void huawei_gprs_activate_primary(struct ofono_gprs_context *gc, { struct gprs_context_data *gcd = ofono_gprs_context_get_data(gc); struct cb_data *cbd = cb_data_new(cb, data); - char buf[64]; + char buf[136]; /* IPv6 support not implemented */ if (ctx->proto != OFONO_GPRS_PROTO_IP) |