[LTP] [PATCH v3 7/9] Test for CVE-2017-5669 in shmat

Cyril Hrubis
2017-07-19T14:50:54Z

Hi!
> > Why do we try to write to the addres at all?
> >
> > We do PASS/FAIL decision based only on the addres returned from
> > shmat().
>
> To see if anything interesting happens, like a segfault. I don't think
> anything is likely to happen, but it seemed worth leaving in at the
> time.

Maybe we should also add a TINFO message then, that we are about
dereference the address then.

--
Cyril Hrubis
chrubis@suse.cz