Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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>
- Loading branch information