memset 0 the input to the signal handler. valgrind wasn't happy