Skip to content
Snippets Groups Projects
user avatar
Heinrich Schuchardt authored
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>
b24b1e4b
History
Name Last commit Last update