syscall: reset auxstr

Otherwise RVAL_STR may print auxstr remained from a previous syscall.

* syscall.c (syscall_entering_trace); Set tcp->auxstr to NULL.
This commit is contained in:
Eugene Syromyatnikov 2018-09-27 07:39:07 +02:00
parent 07c1744c02
commit 4ed4a2ffcc

View File

@ -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;