projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: lttng: out-of-bound copy of arguments in 'view' command handler
[lttng-tools.git]
/
src
/
bin
/
lttng
/
commands
/
disable_rotation.c
diff --git
a/src/bin/lttng/commands/disable_rotation.c
b/src/bin/lttng/commands/disable_rotation.c
index 2ea4a06bad2d381b99d6891b4e2140118eb1446c..47b7de7d7e78d6a66084fe6a51dd4fc8ca4df4df 100644
(file)
--- a/
src/bin/lttng/commands/disable_rotation.c
+++ b/
src/bin/lttng/commands/disable_rotation.c
@@
-225,7
+225,7
@@
int cmd_disable_rotation(int argc, const char **argv)
pc = poptGetContext(NULL, argc, argv, long_options, 0);
popt_ret = poptReadDefaultConfig(pc, 0);
if (popt_ret) {
pc = poptGetContext(NULL, argc, argv, long_options, 0);
popt_ret = poptReadDefaultConfig(pc, 0);
if (popt_ret) {
- ret = CMD_ERROR;
+
cmd_
ret = CMD_ERROR;
ERR("poptReadDefaultConfig");
goto end;
}
ERR("poptReadDefaultConfig");
goto end;
}
@@
-245,7
+245,7
@@
int cmd_disable_rotation(int argc, const char **argv)
size_rotation = true;
break;
default:
size_rotation = true;
break;
default:
- ret = CMD_UNDEFINED;
+
cmd_
ret = CMD_UNDEFINED;
goto end;
}
}
goto end;
}
}
This page took
0.025403 seconds
and
4
git commands to generate.