projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Revert "lttng: fix: out-of-bounds copy of original 'view' command arguments"
[lttng-tools.git]
/
src
/
bin
/
lttng
/
commands
/
view.c
diff --git
a/src/bin/lttng/commands/view.c
b/src/bin/lttng/commands/view.c
index 237ea4a15675d775150ef17d3147124398fb11de..0325e505c505fab3dab2bc666fa7caec40822aa4 100644
(file)
--- a/
src/bin/lttng/commands/view.c
+++ b/
src/bin/lttng/commands/view.c
@@
-188,7
+188,7
@@
static char **alloc_argv_from_local_opts(const char **opts, size_t opts_len,
goto error;
}
goto error;
}
- memcpy(argv, opts,
opts_len
);
+ memcpy(argv, opts,
size
);
if (session_live_mode) {
argv[opts_len] = "-i";
if (session_live_mode) {
argv[opts_len] = "-i";
This page took
0.023819 seconds
and
4
git commands to generate.