On Tue, Mar 6, 2018 at 8:39 PM, Heinrich Schuchardt wrote:
> After allocating plat the pointer is checked.
> Afterwards name is allocated and not checked.
>
> Add the missing check to avoid a possible NULL dereference.
>
> Signed-off-by: Heinrich Schuchardt
After allocating plat the pointer is checked.
Afterwards name is allocated and not checked.
Add the missing check to avoid a possible NULL dereference.
Signed-off-by: Heinrich Schuchardt
---
drivers/net/mvpp2.c | 4
1 file changed, 4 insertions(+)
diff --git
2 matches
Mail list logo