projects
/
freeradius.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Allow for spaces to be escaped in exec program.
[freeradius.git]
/
src
/
main
/
exec.c
diff --git
a/src/main/exec.c
b/src/main/exec.c
index
1efee5f
..
44dd9ae
100644
(file)
--- a/
src/main/exec.c
+++ b/
src/main/exec.c
@@
-175,6
+175,10
@@
int radius_exec_program(const char *cmd, REQUEST *request,
}
break;
+ case '\\':
+ if (from[1] == ' ') from++;
+ /* FALL-THROUGH */
+
default:
*(to++) = *(from++);
}