Whamcloud - gitweb
LU-18951 utils: validate ioc_inlbuf in llog_ioctl() 51/59051/4
authorAndreas Dilger <adilger@whamcloud.com>
Wed, 30 Apr 2025 23:49:03 +0000 (17:49 -0600)
committerOleg Drokin <green@whamcloud.com>
Wed, 21 May 2025 05:16:51 +0000 (05:16 +0000)
commitb2ad4cff41d55d0557ac099c2cf01731b48cb4fb
tree48858f5d10468767f25d160df798733410df800c
parent69525467166c2557834b1150ce3982ecfb47e811
LU-18951 utils: validate ioc_inlbuf in llog_ioctl()

Validate that the inlbuf is initialized with the log index
for OBD_IOC_LLOG_CANCEL and similarly for other ioctl commands
in llog_ioctl().

Signed-off-by: Andreas Dilger <adilger@whamcloud.com>
Change-Id: I237a4f6906dabd64aa2106b6917e9660a92540e5
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/59051
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Emoly Liu <emoly@whamcloud.com>
Reviewed-by: Manish Regmi <mregmi@ddn.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/obdclass/llog_ioctl.c