diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2015-09-29 12:30:58 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2015-09-29 12:31:09 +0000 |
commit | 526d616a09c1191b1b8ed13998538af2c2040d89 (patch) | |
tree | 44b52145e0a7f38a1530db765d9e72e669fec861 /testing/dsniff/21_msgsnarf_segfault.patch | |
parent | 0dba7bc25a37335d5bd351b3d073aff1e5c9eef7 (diff) | |
download | aports-526d616a09c1191b1b8ed13998538af2c2040d89.tar.bz2 aports-526d616a09c1191b1b8ed13998538af2c2040d89.tar.xz |
testing/dsniff: new aport
Diffstat (limited to 'testing/dsniff/21_msgsnarf_segfault.patch')
-rw-r--r-- | testing/dsniff/21_msgsnarf_segfault.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/testing/dsniff/21_msgsnarf_segfault.patch b/testing/dsniff/21_msgsnarf_segfault.patch new file mode 100644 index 0000000000..9df3f99927 --- /dev/null +++ b/testing/dsniff/21_msgsnarf_segfault.patch @@ -0,0 +1,12 @@ +Author: <bdefreese@debian2.bddebian.com> +Description: Correctly 0 out the c struct. +--- a/msgsnarf.c 2011-06-19 17:15:01.091999376 -0500 ++++ b/msgsnarf.c 2011-06-19 17:15:39.739999369 -0500 +@@ -584,6 +584,7 @@ + if (i == 0) { + if ((c = malloc(sizeof(*c))) == NULL) + nids_params.no_mem("sniff_msgs"); ++ memset(c, 0, sizeof(*c)); + c->ip = ts->addr.saddr; + c->nick = strdup("unknown"); + SLIST_INSERT_HEAD(&client_list, c, next); |