huawei: Increase string buffer to avoid overflow

This commit is contained in:
Marcel Holtmann 2019-10-31 08:38:47 +01:00
parent 7528a6096d
commit 96a83c167e
1 changed files with 1 additions and 1 deletions

View File

@ -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)