mirror of git://git.sysmocom.de/ofono
huawei: Increase string buffer to avoid overflow
This commit is contained in:
parent
7528a6096d
commit
96a83c167e
|
@ -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 gprs_context_data *gcd = ofono_gprs_context_get_data(gc);
|
||||||
struct cb_data *cbd = cb_data_new(cb, data);
|
struct cb_data *cbd = cb_data_new(cb, data);
|
||||||
char buf[64];
|
char buf[136];
|
||||||
|
|
||||||
/* IPv6 support not implemented */
|
/* IPv6 support not implemented */
|
||||||
if (ctx->proto != OFONO_GPRS_PROTO_IP)
|
if (ctx->proto != OFONO_GPRS_PROTO_IP)
|
||||||
|
|
Loading…
Reference in New Issue