# Re: \[PATCH v2 09/27\] selftests/landlock: Assert tracefs\_extract\_field() results that are used

- From: sashiko-bot@kernel.org
- Date: 2026-11-04 21:12:43 
- List: linux-security-module
- Page: https://ratatoskr.run/linux-security-module/2026/11/17864685
- Thread: https://ratatoskr.run/linux-security-module/2026/11/17864489/t.md

```text
> Several trace tests check tracefs_extract_field() with EXPECT_EQ() and
> then compare the extracted field.  If the extraction fails, the field
> buffer is left uninitialized and the following comparison reads it.
> 
> Use ASSERT_EQ() for these calls, as the other trace tests already do.
> 
> Signed-off-by: Günther Noack <redacted>

Sashiko has reviewed this patch and found no issues.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261104-selftests-refactor-v2-0-c52f23f7ce33@gmail.com?part=9

```
