Re: [PATCH v2] exec: load_script: Allow interpreter argument truncation

From: Oleg Nesterov
Date: Thu Feb 14 2019 - 12:46:20 EST


On 02/14, Kees Cook wrote:
>
> v2:
> - fix 1-byte-too-early-bail-out in truncation detection (Oleg)
> - add Samuel's "tested" tag

Looks correct...

but you know, I'll try to read this patch again tomorrow after sleep.

And I can't believe this code can't be simplified... but let me repeat
that I tried and failed.

Oleg.