Re: [patch] HID: roccat: potential out of bounds in pyra_sysfs_write_settings()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 9 Jan 2015, Dan Carpenter wrote:

> 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.
> 
> Signed-off-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx>

Applied to hid.git#for-3.19/upstream-fixes. Thanks,

-- 
Jiri Kosina
SUSE Labs
--
To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Kernel Development]     [Kernel Announce]     [Kernel Newbies]     [Linux Networking Development]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Device Mapper]

  Powered by Linux