aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/xen-netback/interface.c
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2015-01-09 12:32:31 +0000
committerJiri Kosina <[email protected]>2015-01-09 13:41:01 +0000
commit606185b20caf4c57d7e41e5a5ea4aff460aef2ab (patch)
tree87bf17410210321b32cf170fa06e8e91e0e98fa5 /drivers/net/xen-netback/interface.c
parentHID: Add a new id 0x501a for Genius MousePen i608X (diff)
downloadkernel-606185b20caf4c57d7e41e5a5ea4aff460aef2ab.tar.gz
kernel-606185b20caf4c57d7e41e5a5ea4aff460aef2ab.zip
HID: roccat: potential out of bounds in pyra_sysfs_write_settings()
This is a static checker fix. We write some binary settings to the sysfs file. One of the settings is the "->startup_profile". There isn't any checking to make sure it fits into the pyra->profile_settings[] array in the profile_activated() function. I added a check to pyra_sysfs_write_settings() in both places because I wasn't positive that the other callers were correct. Cc: <[email protected]> Signed-off-by: Dan Carpenter <[email protected]> Signed-off-by: Jiri Kosina <[email protected]>
Diffstat (limited to 'drivers/net/xen-netback/interface.c')
0 files changed, 0 insertions, 0 deletions