]> granicus.if.org Git - sysstat/commit
rd_stats.c: Fix possible out-of-bounds read
authorSebastien GODARD <sysstat@users.noreply.github.com>
Sun, 11 Feb 2018 08:21:20 +0000 (09:21 +0100)
committerSebastien GODARD <sysstat@users.noreply.github.com>
Sun, 11 Feb 2018 08:21:20 +0000 (09:21 +0100)
commit1b0f998b02f5d02df88be88aae848b02c13e305e
tree6b18d70bb0c10268669cdc109d2e13eff1cc05e5
parentb858959e0effe80c8ba3794f46a1f0bc7818eabe
rd_stats.c: Fix possible out-of-bounds read

Function read_stat_irq() might have overrun line[] array at byte offset
8192 by dereferencing pointer line + pos + 1.

Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
rd_stats.c