diff options
author | David S. Miller <davem@davemloft.net> | 2006-03-23 22:54:18 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-03-27 23:00:23 -0800 |
commit | 107d25ba4fcacf8e29bcad240b95fd9ef7314dac (patch) | |
tree | c606f370f0db2f9ba633931dfc981df08c3af648 /net/bluetooth | |
parent | 739d40fed82810da8e923655c7f8140369641fc7 (diff) |
[PATCH] NET: Ensure device name passed to SO_BINDTODEVICE is NULL terminated.
The user can pass us arbitrary garbage so we should ensure the
string they give us is null terminated before we pass it on
to dev_get_by_index() et al.
Found by Solar Designer.
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'net/bluetooth')
0 files changed, 0 insertions, 0 deletions