Hi, Clang Static Analyzer caught some errors in abook. Following are two patches to fix memory allocation issues (fixing four "Allocator sizeof operand mismatch" and one "Use-after-free" bug types).
There are still some reports (mainly in getaline) which can be found here: https://lekensteyn.nl/scan-build/abook/scan-build-2015-02-16-123218-26144-1/ I have not yet investigated those, but perhaps they are helpful hints? Kind regards, Peter -- Peter Wu (2): Fix "Allocator sizeof operand mismatch" Fix bogus free()s on error path abook.c | 4 ++-- filter.c | 7 +++---- 2 files changed, 5 insertions(+), 6 deletions(-) -- 2.3.0 ------------------------------------------------------------------------------ Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk _______________________________________________ Abook-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/abook-devel
