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

Martin Doucha
2022-11-25T10:25:51Z

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.

--
Martin Doucha mdoucha@suse.cz
QA Engineer for Software Maintenance
SUSE LINUX, s.r.o.
CORSO IIa
Krizikova 148/34
186 00 Prague 8
Czech Republic