From 4ed4a2ffcc6ac9ef8dac6cd16fc05168c4784705 Mon Sep 17 00:00:00 2001 From: Eugene Syromyatnikov Date: Thu, 27 Sep 2018 07:39:07 +0200 Subject: [PATCH] syscall: reset auxstr Otherwise RVAL_STR may print auxstr remained from a previous syscall. * syscall.c (syscall_entering_trace); Set tcp->auxstr to NULL. --- syscall.c | 1 + 1 file changed, 1 insertion(+) diff --git a/syscall.c b/syscall.c index b669a969..68948d1e 100644 --- a/syscall.c +++ b/syscall.c @@ -786,6 +786,7 @@ syscall_entering_trace(struct tcb *tcp, unsigned int *sig) } tcp->flags &= ~TCB_FILTERED; + tcp->auxstr = NULL; if (hide_log(tcp)) { return 0;