summary refs log tree commit diff
diff options
context:
space:
mode:
authorQuentin Carbonneaux <quentin@c9x.me>2022-11-20 21:42:41 +0100
committerQuentin Carbonneaux <quentin@c9x.me>2022-11-20 21:44:25 +0100
commit72006061950f8080f54d642f04510178e06fc27d (patch)
tree120409f682b1feea876b16576d4ff69dc3234e3f
parent1f696fed0dd9f9019209f3f8178f599d1e25c782 (diff)
downloadroux-72006061950f8080f54d642f04510178e06fc27d.tar.gz
argc does not leak its address argument
-rw-r--r--alias.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/alias.c b/alias.c
index 3fd7d83..44686dd 100644
--- a/alias.c
+++ b/alias.c
@@ -162,6 +162,7 @@ fillalias(Fn *fn)
 				if (!isload(i->op))
 					esc(i->arg[0], fn);
 				if (!isstore(i->op))
+				if (i->op != Oargc)
 					esc(i->arg[1], fn);
 			}
 		}