]>
Commit | Line | Data |
---|---|---|
697fec4c AG |
1 | diff -burN rsync-2.6.2.orig/options.c rsync-2.6.2/options.c |
2 | --- rsync-2.6.2.orig/options.c 2004-05-02 10:20:23.177074368 +0200 | |
3 | +++ rsync-2.6.2/options.c 2004-05-02 10:22:33.403276976 +0200 | |
4 | @@ -980,6 +980,8 @@ | |
df394a85 | 5 | { |
6 | char *p, *p2; | |
eb02d8a0 | 7 | |
697fec4c AG |
8 | + if (!s || !*s) |
9 | + return NULL; | |
10 | p = strchr(s,':'); | |
11 | if (!p) | |
12 | return NULL; |