aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/quickstart/quickstart.c
diff options
context:
space:
mode:
authorDan Carpenter <error27@gmail.com>2011-02-09 12:40:12 +0300
committerGreg Kroah-Hartman <gregkh@suse.de>2011-02-09 12:11:55 -0800
commit7e79f78b331632c1812ce9c07443550aa2b6c0fe (patch)
tree225c640b23a12b619a57f4dfd02a251d82d73ae5 /drivers/staging/quickstart/quickstart.c
parentStaging: hv: moved assignments out of if conditions (diff)
downloadlinux-7e79f78b331632c1812ce9c07443550aa2b6c0fe.tar.gz
linux-7e79f78b331632c1812ce9c07443550aa2b6c0fe.zip
Staging: rts_pstor: fix read past end of buffer
We read one space past the end of the buffer because we add 1. Also I changed it to use ARRAY_SIZE() instead of manually calculating the size. Signed-off-by: Dan Carpenter <error27@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/quickstart/quickstart.c')
0 files changed, 0 insertions, 0 deletions