Skip to content
Snippets Groups Projects
Commit b24b1e4b authored by Heinrich Schuchardt's avatar Heinrich Schuchardt Committed by Joe Hershberger
Browse files

net: mvpp2x: add check after calloc


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: default avatarHeinrich Schuchardt <xypron.glpk@gmx.de>
Acked-by: default avatarJoe Hershberger <joe.hershberger@ni.com>
parent dfa1a740
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment