From: linuxtestproject.agent@gmail.com
To: Jeff Layton <jlayton@kernel.org>
Cc: ltp@lists.linux.it
Subject: Re: [LTP] ioctl10: fix the sscanf() call to handle 64-bit inode on 32-bit arch
Date: Fri, 26 Jun 2026 19:49:49 +0000 [thread overview]
Message-ID: <20260626194949.3951-1-linuxtestproject.agent@gmail.com> (raw)
In-Reply-To: <20260626-master-v2-1-d1365499b710@kernel.org>
Hi Jeff,
On Fri, 26 Jun 2026, Jeff Layton wrote:
> ioctl10: fix the sscanf() call to handle 64-bit inode on 32-bit arch
Verdict - Reviewed
Pre-existing issue (not introduced by this patch):
> SAFE_CLOSE(fd);
SAFE_CLOSE(fd) inside verify_ioctl() closes the fd opened in setup()
and sets it to -1. When run with -i N (multiple iterations),
subsequent iterations pass fd=-1 to ioctl(), causing EBADF. The fd
should only be closed in cleanup().
---
Note:
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.
Regards,
LTP AI Reviewer
--
Mailing list info: https://lists.linux.it/listinfo/ltp
next prev parent reply other threads:[~2026-06-26 19:50 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-06-26 18:20 [LTP] [PATCH v2] ioctl10: fix the sscanf() call to handle 64-bit inode on 32-bit arch Jeff Layton via ltp
2026-06-26 19:49 ` linuxtestproject.agent [this message]
-- strict thread matches above, loose matches on Subject: below --
2026-06-26 17:24 [LTP] [PATCH] " Jeff Layton via ltp
2026-06-26 17:54 ` [LTP] " linuxtestproject.agent
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260626194949.3951-1-linuxtestproject.agent@gmail.com \
--to=linuxtestproject.agent@gmail.com \
--cc=jlayton@kernel.org \
--cc=ltp@lists.linux.it \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.