2016-12-02 0:04 GMT+01:00 Christoph Biedl <debian.a...@manchmal.in-ulm.de>: > Arnaud Quette wrote... > >> $ gcc test.c -lmagic >> valgrind ./a.out > (...) >> ==30967== HEAP SUMMARY: >> ==30967== in use at exit: 48 bytes in 3 blocks >> ==30967== total heap usage: 28 allocs, 25 frees, 2,179 bytes allocated > (...) > > Hello, > > according to my tests this was fixed in file/libmagic 5.29-1 (as in > sid and stretch): > > ==416629== Memcheck, a memory error detector > ==416629== Copyright (C) 2002-2015, and GNU GPL'd, by Julian Seward et al. > ==416629== Using Valgrind-3.12.0.SVN and LibVEX; rerun with -h for copyright > info > ==416629== Command: ./a.out > ==416629== > ==416629== > ==416629== HEAP SUMMARY: > ==416629== in use at exit: 0 bytes in 0 blocks > ==416629== total heap usage: 16 allocs, 16 frees, 1,123 bytes allocated > ==416629== > ==416629== All heap blocks were freed -- no leaks are possible > ==416629== > ==416629== For counts of detected and suppressed errors, rerun with: -v > ==416629== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) > > Please confirm, I'll prepare a fix for jessie then (wheezy is > appearently not affected).
Hi Christoph, I confirm that libmagic 5.29-1 (tested on stretch) fixes the issue. thanks and cheers, Arno -- Eaton Data Center Automation Solutions - Opensource Leader - http://42ity.org NUT (Network UPS Tools) Project Leader - http://www.networkupstools.org Debian Developer - http://www.debian.org Free Software Developer - http://arnaud.quette.fr