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

Andrea Cervesato via ltp <[email protected]> Wed, 29 Jul 2026 15:52:44 +0000
Newsgroups it.linux.lists.ltp
Message-ID <[email protected]>
Merged, Thanks!

With suggested @Petr feedback on tst_attach_device:


int tst_attach_device(const char *dev, const char *file)
{
  ...

	if (strlen(file) >= LO_NAME_SIZE) {
		tst_brkm(TBROK, NULL, "Device name can't be longer than %u chars",
			 LO_NAME_SIZE);
	}

  ...
}

--
Andrea Cervesato
SUSE QE Automation Engineer Linux
[email protected]

-- 
Mailing list info: https://lists.linux.it/listinfo/ltp