On Tue, Oct 15, 2019 at 3:49 PM Denis Efremov wrote:
>
> Add NOFAIL check for the strdup call, since the function
> allocates memory and can return NULL. All strdup calls in
> modpost are checked with NOFAIL.
>
> Signed-off-by: Denis Efremov
> ---
> scripts/mod/modpost.c | 2 +-
> 1 file changed
Add NOFAIL check for the strdup call, since the function
allocates memory and can return NULL. All strdup calls in
modpost are checked with NOFAIL.
Signed-off-by: Denis Efremov
---
scripts/mod/modpost.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/mod/modpost.c b/s
2 matches
Mail list logo