Go to file
Jan Engelhardt d2915c3e86 Accepting request 264334 from home:chorler:branches:security:netfilter
I'm experimenting with conntrack / conntrackd, when running nfct I got a segfault.

The segfault is fixed by moving the first free:

GDB shows the segfault on free of the pointer 0x45454545...  Valgrind shows me this:
==5278== Invalid read of size 8
==5278==    at 0x523E970: nfct_helper_free (libnetfilter_cthelper.c:118)
==5278==    by 0x403361: nfct_cmd_helper_add (helper.c:249)
==5278==    by 0x401EB0: main (nfct.c:77)
==5278==  Address 0x59f4618 is 40 bytes inside a block of size 80 free'd
==5278==    at 0x4C28ADC: free (vg_replace_malloc.c:446)
==5278==    by 0x523E96F: nfct_helper_free (libnetfilter_cthelper.c:116)
==5278==    by 0x403361: nfct_cmd_helper_add (helper.c:249)
==5278==    by 0x401EB0: main (nfct.c:77)

OBS-URL: https://build.opensuse.org/request/show/264334
OBS-URL: https://build.opensuse.org/package/show/security:netfilter/libnetfilter_cthelper?expand=0&rev=20
2014-12-08 17:16:34 +00:00
.gitattributes New package 2012-06-04 14:19:44 +00:00
.gitignore New package 2012-06-04 14:19:44 +00:00
baselibs.conf libnetfilter_cthelper-1.0.0 2012-10-08 15:38:01 +00:00
fix_h_expect_policy_free.patch Accepting request 264334 from home:chorler:branches:security:netfilter 2014-12-08 17:16:34 +00:00
libnetfilter_cthelper-1.0.0.tar.bz2 libnetfilter_cthelper-1.0.0 2012-10-08 15:38:01 +00:00
libnetfilter_cthelper-1.0.0.tar.bz2.sig libnetfilter_cthelper-1.0.0 2012-10-08 15:38:01 +00:00
libnetfilter_cthelper.changes Accepting request 264334 from home:chorler:branches:security:netfilter 2014-12-08 17:16:34 +00:00
libnetfilter_cthelper.keyring Verify GPG signature 2012-12-03 21:55:03 +00:00
libnetfilter_cthelper.spec Accepting request 264334 from home:chorler:branches:security:netfilter 2014-12-08 17:16:34 +00:00