Skip to content
Commit 3fd38416 authored by Bastian Germann's avatar Bastian Germann Committed by David Oberhollenzer
Browse files

ubiupdatevol: Prevent null pointer dereference



libubi_close(libubi) is called in the error handler if libubi is null.
Prevent that by handling the error case similar to the other ubi
executables.

Signed-off-by: default avatarBastian Germann <bastiangermann@fishpost.de>
Signed-off-by: default avatarDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>
parent 1178a63f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment