libcdio-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Libcdio-devel] static analysis


From: Frantisek Kluknavsky
Subject: [Libcdio-devel] static analysis
Date: Thu, 17 Apr 2014 17:55:53 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0

Hi,

Maybe you want to see results of static analysis. First two defects seem noteworthy.

libcdio-0.92/lib/udf/udf_fs.c:266:double_free – Calling "udf_dirent_free(udf_dirent_t *)" frees pointer "p_udf_dirent" which has already been freed.

libcdio-0.92/src/iso-info.c:159:var_deref_model – Passing null pointer "optarg" to function "atoll(char const *)", which dereferences it.

libcdio-0.92/lib/iso9660/iso9660_fs.c:1568:leaked_storage – Variable "p_stat" going out of scope leaks the storage it points to.

libcdio-0.92/lib/iso9660/iso9660_fs.c:757:leaked_storage – Variable "p_stat" going out of scope leaks the storage it points to.

libcdio-0.92/lib/udf/udf_fs.c:234:dead_error_line – Execution cannot reach this statement "free(p_udf_dirent->psz_name);".

Have a nice day.

Fero



reply via email to

[Prev in Thread] Current Thread [Next in Thread]