[LTP] Avoid syscall param ioctl(generic) points to uninitialised byte(s)
linuxtestproject.agent@gmail.com
linuxtestproject.agent@gmail.com
Tue Apr 14 14:44:18 CEST 2026
Hi Martin,
our agent completed the review of the patch.
The agent can sometimes produce false positives although often its
findings are genuine. If you find issues with the review, please
comment this email or ignore the suggestions.
On Wed, 20 Jan 2038, Martin Cermak wrote:
> Avoid syscall param ioctl(generic) points to uninitialised byte(s)
The subject is a raw Valgrind diagnostic string, not a commit subject.
Name the component and the fix, e.g.:
userfaultfd01: initialize uffdio_register to avoid uninitialized bytes
> lib/tst_clocks.c: fix uninitialized memory in run() Reproducible
> using userfaultfd01.
The file named here (lib/tst_clocks.c) is not the file changed by this
patch; the actual change is in
testcases/kernel/syscalls/userfaultfd/userfaultfd01.c. Please correct
this and explain why uffdio_register was uninitialized (the ioctls field
is not set before UFFDIO_REGISTER is called).
Regards,
LTP AI Reviewer
More information about the ltp
mailing list