On Wed, 24 Aug 2016 14:11:51 +0200
Ondřej Lysoněk <olysonek(a)redhat.com> wrote:
---
traceevent/parse-filter.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/traceevent/parse-filter.c b/traceevent/parse-filter.c
index 2500e75..ec308ae 100644
--- a/traceevent/parse-filter.c
+++ b/traceevent/parse-filter.c
@@ -1720,7 +1720,7 @@ static const char *get_field_str(struct filter_arg *arg, struct
pevent_record *r
struct pevent *pevent;
unsigned long long addr;
const char *val = NULL;
- char hex[64];
+ static char hex[64];
/* If the field is not a string convert it */
if (arg->str.field->flags & FIELD_IS_STRING) {
Thanks for the contribution! Commit message updated with my Acked-by. Pushed.
ea5c67865415 Fixed a dangling pointer