Merge branch 't/recv_fix'
authorAndre Noll <maan@systemlinux.org>
Thu, 31 Jul 2014 06:06:21 +0000 (08:06 +0200)
committerAndre Noll <maan@systemlinux.org>
Thu, 31 Jul 2014 06:06:21 +0000 (08:06 +0200)
Cooking for two months.

* t/recv_fix:
  recv: Don't segfault on invalid chunk values.

1  2 
recv.c

diff --cc recv.c
--- 1/recv.c
--- 2/recv.c
+++ b/recv.c
@@@ -63,9 -63,8 +63,9 @@@ int main(int argc, char *argv[]
        int ret, r_opened = 0, receiver_num;
        struct receiver *r = NULL;
        struct receiver_node rn;
-       struct stdout_task sot;
+       struct stdout_task sot = {.btrn = NULL};
        static struct sched s;
 +      struct task_info ti;
  
        recv_cmdline_parser(argc, argv, &conf);
        loglevel = get_loglevel_by_name(conf.loglevel_arg);