From 28736eb55613b2eaa7ded327c1f5932b232a7dec Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Sat, 25 Sep 2004 20:58:11 +0000 Subject: [PATCH] add missing increment of addr in read_string() --- mon_systrace.c | 1 + 1 file changed, 1 insertion(+) diff --git a/mon_systrace.c b/mon_systrace.c index cd23f35f6..98f11a031 100644 --- a/mon_systrace.c +++ b/mon_systrace.c @@ -477,6 +477,7 @@ read_string(fd, pid, addr, buf, bufsiz) break; } cp += chunksiz; + addr += chunksiz; bufsiz -= chunksiz; } else { if (errno != EINVAL || chunksiz == 4) -- 2.50.1