diff options
author | Jiri Olsa <jolsa@redhat.com> | 2011-05-10 12:43:46 +0200 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2011-05-25 19:56:36 -0400 |
commit | 7cbc5b8d4a775a43875a09e29c49a2a8195b5b2d (patch) | |
tree | b172a445ca84bd463abc6006233799e0a5f422b2 /kernel/audit.h | |
parent | 9905ce8ad7b79dddd23c7b4753d0b2cdb65bde3c (diff) | |
download | op-kernel-dev-7cbc5b8d4a775a43875a09e29c49a2a8195b5b2d.zip op-kernel-dev-7cbc5b8d4a775a43875a09e29c49a2a8195b5b2d.tar.gz |
jump_label: Check entries limit in __jump_label_update
When iterating the jump_label entries array (core or modules),
the __jump_label_update function peeks over the last entry.
The reason is that the end of the for loop depends on the key
value of the processed entry. Thus when going through the
last array entry, we will touch the memory behind the array
limit.
This bug probably will never be triggered, since most likely the
memory behind the jump_label entries will be accesable and the
entry->key will be different than the expected value.
Signed-off-by: Jiri Olsa <jolsa@redhat.com>
Acked-by: Jason Baron <jbaron@redhat.com>
Link: http://lkml.kernel.org/r/20110510104346.GC1899@jolsa.brq.redhat.com
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'kernel/audit.h')
0 files changed, 0 insertions, 0 deletions