Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#5 Memory leak in log4c_category_get_additivity

open-accepted
None
5
2005-05-24
2004-03-22
Anonymous
No

While running valgrind on my app, I 've got the
following report:

==10251== Invalid read of size 4
==10251== at 0x3C15656B:
log4c_category_get_additivity (category.c:129)
==10251== by 0x3C1550F7: category_load (rc.c:129)
==10251== by 0x3C1553F9: log4c_rc_load (rc.c:219)
==10251== by 0x3C1554CA: log4c_init (init.c:60)
==10251== Address 0x3C17D740 is 6 bytes after a block
of size 2 alloc'd
==10251== at 0x3C01E250: malloc
(vg_replace_malloc.c:105)
==10251== by 0x3C156FC8: sd_malloc (malloc.c:82)
==10251== by 0x3C1570A5: sd_strdup (malloc.c:125)
==10251== by 0x3C158DFD: __sd_domnode_new (domnode.c:33)

Hope this can help
Angelo

Discussion

    • assigned_to: nobody --> legoater
     
    • status: open --> open-accepted