aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2010-10-09 13:54:06 +0200
committerGreg Kroah-Hartman <[email protected]>2010-10-09 13:49:40 -0700
commitcbf6baac775f2e3fb61f88dcaa71e44fb34b6906 (patch)
tree7566fba3d713c9525fb237b52fd7ea143ab440bf /tools/perf/scripts/python
parentcf10700bf8047f0668dd874b607f89516612e6c7 (diff)
Staging: brcm80211: make interface name buffer smaller
In the original code the interface name was IFNAMSIZ + 1, but that caused problems in dhd_ifname2idx() which does: strncmp(dhd->iflist[i]->name, name, IFNAMSIZ) The wl_event_msg_t struct can only store 16 character names as well. And thirdly there is a potential buffer overflow in dhd_op_if() because if->net->name is IFNAMSIZ and we do: strcpy(ifp->net->name, ifp->name); Signed-off-by: Dan Carpenter <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions