1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
|
From: Robert Luberda <robert@debian.org>
Date: Tue, 23 Mar 2010 22:04:47 +0100
Subject: Remove call to execvp()
Merge the following change from Ubuntu:
- remove call to execvp() as it's not needed and has potential
security problems.
---
sar.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/sar.c b/sar.c
index 711e21b..41a3a61 100644
--- a/sar.c
+++ b/sar.c
@@ -1629,7 +1629,6 @@ int main(int argc, char **argv)
#ifdef DEBUG
fprintf(stderr, "%s: 2.sadc: %s\n", __FUNCTION__, SADC);
#endif
- execvp(SADC, args);
/*
* Note: Don't use execl/execlp since we don't have a fixed number of
* args to give to sadc.
|