slackbuilds_ponce/network/packit/patches/fix_inject_mode_segfault.patch
Brenton Earl 087edbb3f5
network/packit: Add patches and switch to i586.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
2016-12-24 07:33:27 +07:00

17 lines
496 B
Diff

Description: fix segfault when using inject-mode
with no arguments. (Closes: 386150)
Author: Deniz Adrian <adrian@netzquadrat.de>
Last-Update: 2006-09-05
Index: packit-1.0/src/main.c
===================================================================
--- packit-1.0.orig/src/main.c
+++ packit-1.0/src/main.c
@@ -214,6 +214,8 @@ parse_inject_options(int argc, char *arg
}
}
+print_usage();
+
parse_inject:
#ifdef DEBUG
fprintf(stdout, "DEBUG: parse_inject\n");