Skip to content
Commit fe0e94c5 authored by Dan Carpenter's avatar Dan Carpenter Committed by James Morris
Browse files

mpi/mpi-mpow: NULL dereference on allocation failure



We can't call mpi_free() on the elements if the first kzalloc() fails.

Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: default avatarDmitry Kasatkin <dmitry.kasatkin@intel.com>
Signed-off-by: default avatarJames Morris <jmorris@namei.org>
parent de353533
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment