Re: [PATCH bpf-next] selftests/bpf: Sanitize pointer prior fclose()

From: patchwork-bot+netdevbpf
Date: Thu Mar 20 2025 - 13:41:10 EST


Hello:

This patch was applied to bpf/bpf-next.git (master)
by Andrii Nakryiko <andrii@xxxxxxxxxx>:

On Tue, 18 Mar 2025 09:16:47 +0100 you wrote:
> From: Björn Töpel <bjorn@xxxxxxxxxxxx>
>
> 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!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html