diff options
| author | Dan Carpenter <error27@gmail.com> | 2011-02-09 12:40:12 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-02-09 12:11:55 -0800 |
| commit | 7e79f78b331632c1812ce9c07443550aa2b6c0fe (patch) | |
| tree | 225c640b23a12b619a57f4dfd02a251d82d73ae5 /drivers/staging/quickstart/quickstart.c | |
| parent | Staging: hv: moved assignments out of if conditions (diff) | |
| download | linux-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
