projects
/
freeradius.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f466eb1
)
Ensure user_msg is initialized
author
Alan T. DeKok
<aland@freeradius.org>
Thu, 6 Jun 2013 14:06:36 +0000
(10:06 -0400)
committer
Alan T. DeKok
<aland@freeradius.org>
Thu, 6 Jun 2013 14:44:14 +0000
(10:44 -0400)
src/main/exec.c
patch
|
blob
|
history
diff --git
a/src/main/exec.c
b/src/main/exec.c
index
0d395f5
..
019405b
100644
(file)
--- a/
src/main/exec.c
+++ b/
src/main/exec.c
@@
-509,6
+509,8
@@
int radius_exec_program(char const *cmd, REQUEST *request,
char answer[4096];
#endif
+ if (user_msg) *user_msg = '\0';
+
pid = radius_start_program(cmd, request, exec_wait, NULL, &from_child, input_pairs, shell_escape);
if (pid < 0) {
return -1;