From 5efa8d23cee8c96ff4ee9b1e4219568e485251f6 Mon Sep 17 00:00:00 2001 From: otto Date: Thu, 1 Feb 2018 11:14:23 +0000 Subject: [PATCH] don't forget to increment loop var; infinite loops spotted by sthen@ --- libexec/ld.so/malloc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libexec/ld.so/malloc.c b/libexec/ld.so/malloc.c index dc75dbbc287..7a58c6c440d 100644 --- a/libexec/ld.so/malloc.c +++ b/libexec/ld.so/malloc.c @@ -434,6 +434,7 @@ unmap(struct dir_info *d, void *p, size_t sz, int junk) break; } } + i++; } } for (i = 0; ; i++) { -- 2.20.1