diff options
| author | Cassio de Campos <cassiopc@gmail.com> | 2017-08-11 20:51:14 +0000 |
|---|---|---|
| committer | Cassio de Campos <cassiopc@gmail.com> | 2017-08-11 20:51:14 +0000 |
| commit | 4825a39f32cec25662967a62228860a75160c841 (patch) | |
| tree | 5b6a03a5021769a1524efcd2bbdac50e634fb4fa /tools | |
| parent | 5bec5f92085483699fc3ddfbc26b5e8b0d16a50b (diff) | |
| download | boca-4825a39f32cec25662967a62228860a75160c841.tar.gz boca-4825a39f32cec25662967a62228860a75160c841.zip | |
bug fix
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/boca-submit-run-root-wrapper.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/boca-submit-run-root-wrapper.c b/tools/boca-submit-run-root-wrapper.c index 94ba282..29e09af 100644 --- a/tools/boca-submit-run-root-wrapper.c +++ b/tools/boca-submit-run-root-wrapper.c @@ -20,7 +20,7 @@ char *clean(char *s) { } int main(int argc, char **argv) { if(argc != 8) return 1; - sprintf(str,"/usr/bin/boca-submit-run-root \"%300s\" \"%300s\" \"%300s\" \"%300s\" \"%300s\" \"%300s\" \"%300s\"", + sprintf(str,"/usr/bin/boca-submit-run-root \"%s\" \"%s\" \"%s\" \"%s\" \"%s\" \"%s\" \"%s\"", clean(argv[1]),clean(argv[2]),clean(argv[3]),clean(argv[4]),clean(argv[5]),clean(argv[6]),clean(argv[7])); setuid(0); system(str); |