Commit e0d3a4ae authored by Denis Kirjanov's avatar Denis Kirjanov Committed by Greg Kroah-Hartman
Browse files

powerpc/oprofile: fix potential buffer overrun in op_model_cell.c



commit 238c1a78 upstream.

Fix potential initial_lfsr buffer overrun.
Writing past the end of the buffer could happen when index == ENTRIES

Signed-off-by: default avatarDenis Kirjanov <dkirjanov@kernel.org>
Signed-off-by: default avatarRobert Richter <robert.richter@amd.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent b8504b8d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment