[Libosinfo] [osinfo-db-tools PATCH 0/3] Fix coverity/clang issues
Cole Robinson
crobinso at redhat.com
Tue May 21 19:03:35 UTC 2019
On 5/20/19 8:39 AM, Fabiano Fidêncio wrote:
> This series fixes 3 issues found by either coverity or clang.
> The issues are:
> - FORWARD_NULL, due to the possibility of calling unlink(NULL) in the
> osinfo-db-import code;
> - DEADCODE, due to err being declared, instantiated but never used in the
> osinfo-db-export code;
> - A memory leak of memory pointed to by "files";
>
> Fabiano Fidêncio (3):
> import: Don't call unlink(NULL)
> export: Remove unused variable
> validate: Don't leak "files"
>
> tools/osinfo-db-export.c | 3 ---
> tools/osinfo-db-import.c | 2 +-
> tools/osinfo-db-validate.c | 1 +
> 3 files changed, 2 insertions(+), 4 deletions(-)
>
Reviewed-by: Cole Robinson <crobinso at redhat.com>
- Cole
More information about the Libosinfo
mailing list