Hello:
This patch was applied to bpf/bpf-next.git (master) by Andrii Nakryiko andrii@kernel.org:
On Tue, 18 Mar 2025 09:16:47 +0100 you wrote:
From: Björn Töpel bjorn@rivosinc.com
There are scenarios where env.{sub,}test_state->stdout_saved, can be NULL, e.g. sometimes when the watchdog timeout kicks in, or if the open_memstream syscall is not available.
Avoid crashing test_progs by adding an explicit NULL check prior the fclose() call.
[...]
Here is the summary with links: - [bpf-next] selftests/bpf: Sanitize pointer prior fclose() https://git.kernel.org/bpf/bpf-next/c/e16e64f9e076
You are awesome, thank you!