rzsz/lrzsz-0.12.20-null-pointer.patch

13 lines
367 B
Diff

diff -urN lrzsz-0.12.20/src/lrz.c lrzsz-0.12.20.new/src/lrz.c
--- lrzsz-0.12.20/src/lrz.c 1998-12-30 08:49:24.000000000 +0100
+++ lrzsz-0.12.20.new/src/lrz.c 2014-05-12 16:50:38.212549624 +0200
@@ -2319,7 +2319,7 @@
if (*s == '!')
++s;
io_mode(0,0);
- execl("/bin/sh", "sh", "-c", s);
+ execl("/bin/sh", "sh", "-c", s, NULL);
zpfatal("execl");
exit(1);
}