Merge "msm: ipa: add null terminator"
This commit is contained in:
commit
a6872b79bc
2 changed files with 4 additions and 0 deletions
|
@ -1541,6 +1541,8 @@ static int ipa_wwan_ioctl(struct net_device *dev, struct ifreq *ifr, int cmd)
|
|||
mutex_unlock(&add_mux_channel_lock);
|
||||
return -EFAULT;
|
||||
}
|
||||
extend_ioctl_data.u.rmnet_mux_val.vchannel_name
|
||||
[IFNAMSIZ-1] = '\0';
|
||||
IPAWANDBG("ADD_MUX_CHANNEL(%d, name: %s)\n",
|
||||
extend_ioctl_data.u.rmnet_mux_val.mux_id,
|
||||
extend_ioctl_data.u.rmnet_mux_val.vchannel_name);
|
||||
|
|
|
@ -1677,6 +1677,8 @@ static int ipa3_wwan_ioctl(struct net_device *dev, struct ifreq *ifr, int cmd)
|
|||
add_mux_channel_lock);
|
||||
return -EFAULT;
|
||||
}
|
||||
extend_ioctl_data.u.rmnet_mux_val.vchannel_name
|
||||
[IFNAMSIZ-1] = '\0';
|
||||
IPAWANDBG("ADD_MUX_CHANNEL(%d, name: %s)\n",
|
||||
extend_ioctl_data.u.rmnet_mux_val.mux_id,
|
||||
extend_ioctl_data.u.rmnet_mux_val.vchannel_name);
|
||||
|
|
Loading…
Add table
Reference in a new issue