96a8d14e87
If we don't restrict "cp.channum" to 3 digits then the sprintf() will overflow. I've added a check and changed the sprintf() to snprintf(). Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
||
---|---|---|
.. | ||
comet.c | ||
comet.h | ||
comet_tables.c | ||
comet_tables.h | ||
functions.c | ||
hwprobe.c | ||
Kconfig | ||
libsbew.h | ||
linux.c | ||
Makefile | ||
musycc.c | ||
musycc.h | ||
ossiRelease.c | ||
pmc93x6_eeprom.c | ||
pmc93x6_eeprom.h | ||
pmcc4.h | ||
pmcc4_cpld.h | ||
pmcc4_defs.h | ||
pmcc4_drv.c | ||
pmcc4_ioctls.h | ||
pmcc4_private.h | ||
pmcc4_sysdep.h | ||
sbe_bid.h | ||
sbe_promformat.h | ||
sbecom_inline_linux.h | ||
sbecrc.c | ||
sbeid.c | ||
sbeproc.c | ||
sbeproc.h | ||
sbew_ioc.h |