Re: [PATCH v2] fs/proc: timers -- Test for potential index overflow

From: Cyrill Gorcunov
Date: Fri Dec 21 2018 - 15:28:14 EST


On Fri, Nov 09, 2018 at 02:31:53PM +0300, Cyrill Gorcunov wrote:
> When showing timer's notify symbolic name make sure we never fetch a value
> sitting outside of the names array. Though the former issue displaying
> timer->it_sigev_notify has been fixed by Thomas in commit cef31d9af9082434,
> better to make sure we won't hit it again on furher modifications.
>
> v2: Use explicit index overflow test (by tglx@). Since
> it should never happen add warn-once to notify.
>
> Cc: Andrey Vagin <avagin@xxxxxxxxx>
> Cc: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
> Cc: Peter Zijlstra <peterz@xxxxxxxxxxxxx>
> Cc: Ingo Molnar <mingo@xxxxxxxxxx>
> Signed-off-by: Cyrill Gorcunov <gorcunov@xxxxxxxxx>

Seems the patch is lost due to other duties. Guys, should
I resend it or there some objections?