[LTP] [PATCH 0/3] Fix bugs in LTP core library

Andrea Cervesato andrea.cervesato@suse.de
Fri Jul 17 14:33:17 CEST 2026


These bugs were found by LLM long time ago, after asking to check for
errors in memory management and general usage. An in-depth analysis was
not done, because these were mostly cases where LTP might produce false
positives or crash the application. Keep it simple.

Signed-off-by: Andrea Cervesato <andrea.cervesato@suse.com>
---
Andrea Cervesato (3):
      lib: Avoid loop_info.lo_name buffer overflow
      lib: Close directory fd on ENOSPC in tst_fill_fs
      lib: Fix wrong field in tst_iovec_alloc

 lib/tst_buffers.c | 2 +-
 lib/tst_device.c  | 2 +-
 lib/tst_fill_fs.c | 1 +
 3 files changed, 3 insertions(+), 2 deletions(-)
---
base-commit: a67fe5f7b20492ff6ee7f4b1776a7579d4b3859b
change-id: 20260717-fix_core_library-c9fef66bd8df

Best regards,
-- 
Andrea Cervesato <andrea.cervesato@suse.com>



More information about the ltp mailing list