[LTP] [PATCH v2] security/dirtyc0w_shmem: Add new test for CVE-2022-2590

David Hildenbrand david@redhat.com
Fri Nov 25 11:42:32 CET 2022


On 25.11.22 11:39, Petr Vorel wrote:
>> On 25.11.22 11:25, Martin Doucha wrote:
>>> On 25. 11. 22 11:20, David Hildenbrand wrote:
>>>> See my other mail, it's the case on all instances that pass NULL (and I
>>>> don't really see the need to do this when working with NULL.
> 
>>> NULL may be defined as simple integer 0. When int is 32bit and pointers
>>> 64bit, this will cause trouble in variadic functions such as execlp().
>>> You do not need to remind us that LTP tests have lots of bugs, we know.
> 
>> I can send a fixup patch for all these instances.
> 
> Thank you!

The list of SAFE_EXEC* was fairly short, now I discovered manual execl*
usage... let me get a patch ready to fix all these :)

-- 
Thanks,

David / dhildenb



More information about the ltp mailing list