Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed a couple DEL_OWNED_BY_US glitches.
[rsync/rsync.git]
/
loadparm.c
diff --git
a/loadparm.c
b/loadparm.c
index
0915000
..
010e089
100644
(file)
--- a/
loadparm.c
+++ b/
loadparm.c
@@
-784,6
+784,11
@@
static BOOL do_section(char *sectionname)
return(True);
}
return(True);
}
+ if (strchr(sectionname, '/') != NULL) {
+ rprintf(FLOG, "Warning: invalid section name in configuration file: %s\n", sectionname);
+ return False;
+ }
+
/* if we have a current service, tidy it up before moving on */
bRetval = True;
/* if we have a current service, tidy it up before moving on */
bRetval = True;