commit | 98de4e0ea47d106846fc0e30ce4e644283fa7fc2 | [log] [tgz] |
---|---|---|
author | Levin, Alexander <alexander.levin@verizon.com> | Tue Jul 18 04:23:16 2017 +0000 |
committer | David S. Miller <davem@davemloft.net> | Wed Jul 19 13:32:11 2017 -0700 |
tree | ba5cff38d9d85c2d9e003c238707a4050dd8b683 | |
parent | 073dd5ad34b1d3aaadaa7e5e8cbe576d9545f163 [diff] |
wireless: wext: terminate ifr name coming from userspace ifr name is assumed to be a valid string by the kernel, but nothing was forcing username to pass a valid string. In turn, this would cause panics as we tried to access the string past it's valid memory. Signed-off-by: Sasha Levin <alexander.levin@verizon.com> Signed-off-by: David S. Miller <davem@davemloft.net>