Re: [OpenWrt-Devel] [PATCH v3] [netifd] vlan: Buffer overlow in snprintf for vlans

2018-02-12 Thread John Crispin
On 02/02/18 08:29, csho...@thecshore.com wrote: From: "Daniel F. Dickinson" Buffer overflow condition can occur because vlan device name is constructed from device name (size IFNAMSIZ) plus the ASCII decimal representation of the vlan id plus a dot, but the target can only be IFNAMSIZ. Note

[OpenWrt-Devel] [PATCH v3] [netifd] vlan: Buffer overlow in snprintf for vlans

2018-02-01 Thread cshored
From: "Daniel F. Dickinson" Buffer overflow condition can occur because vlan device name is constructed from device name (size IFNAMSIZ) plus the ASCII decimal representation of the vlan id plus a dot, but the target can only be IFNAMSIZ. Note that the generic device name code must also be updat