]> git.pld-linux.org Git - packages/rsync.git/commitdiff
- fix segfault on weird arguments (patch from RH).
authorkloczek <kloczek@pld-linux.org>
Fri, 31 Jan 2003 03:39:31 +0000 (03:39 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    rsync-segv.patch -> 1.1

rsync-segv.patch [new file with mode: 0644]

diff --git a/rsync-segv.patch b/rsync-segv.patch
new file mode 100644 (file)
index 0000000..93f804a
--- /dev/null
@@ -0,0 +1,10 @@
+--- rsync-2.4.6/main.c.foo     Fri Aug 17 11:46:03 2001
++++ rsync-2.4.6/main.c Fri Aug 17 11:45:37 2001
+@@ -534,6 +534,7 @@
+ {
+       char *p, *p2;
++      if (!s || !*s) return NULL;
+       p = strchr(s,':');
+       if (!p) return NULL;
+       
This page took 0.05736 seconds and 4 git commands to generate.