Re: [PATCH bpf-next v2 1/4] selftests/bpf: Add some null pointer checks

2024-05-13 Thread Markus Elfring
> There is a 'malloc' call, which can be unsuccessful. two calls? > This patch will add the malloc failure checking … Please use imperative wordings for improved change descriptions also in your patches. https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/

Re: [PATCH bpf-next v2 1/4] selftests/bpf: Add some null pointer checks

2024-05-13 Thread Kunwu Chan
On 2024/5/10 19:20, Muhammad Usama Anjum wrote: On 5/10/24 2:58 PM, kunwu.c...@linux.dev wrote: From: Kunwu Chan There is a 'malloc' call, which can be unsuccessful. This patch will add the malloc failure checking to avoid possible null dereference. Signed-off-by: Kunwu Chan --- tools/test

Re: [PATCH bpf-next v2 1/4] selftests/bpf: Add some null pointer checks

2024-05-10 Thread Muhammad Usama Anjum
On 5/10/24 2:58 PM, kunwu.c...@linux.dev wrote: > From: Kunwu Chan > > There is a 'malloc' call, which can be unsuccessful. > This patch will add the malloc failure checking > to avoid possible null dereference. > > Signed-off-by: Kunwu Chan > --- > tools/testing/selftests/bpf/test_progs.c | 7

[PATCH bpf-next v2 1/4] selftests/bpf: Add some null pointer checks

2024-05-10 Thread kunwu . chan
From: Kunwu Chan There is a 'malloc' call, which can be unsuccessful. This patch will add the malloc failure checking to avoid possible null dereference. Signed-off-by: Kunwu Chan --- tools/testing/selftests/bpf/test_progs.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/tools/test