diff options
author | Bastian Germann <bastiangermann@fishpost.de> | 2019-09-08 21:59:22 +0200 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2019-09-10 10:16:51 +0200 |
commit | 3fd38416e7a4817d18173cdebd5b4c5d62c06220 (patch) | |
tree | 635322a1656fe8903e45711e95907b052a680c26 /tests/ubi-tests/rsvol.c | |
parent | 1178a63f830dab71c6074b7c98e4d57946982656 (diff) |
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: Bastian Germann <bastiangermann@fishpost.de>
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'tests/ubi-tests/rsvol.c')
0 files changed, 0 insertions, 0 deletions