From 7b322d73e8bfe8c1053d59334dd046219544f0d1 Mon Sep 17 00:00:00 2001 From: William Pitcock Date: Sun, 24 Feb 2013 06:42:32 -0600 Subject: [PATCH] main: limit evaluation graph depth to 2000 nodes This allows us to break out of situations where circular dependencies may arise. --- main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.c b/main.c index a5eff0a..f2e4ec0 100644 --- a/main.c +++ b/main.c @@ -48,7 +48,7 @@ static unsigned int global_traverse_flags = PKGF_NONE; static int want_flags; -static int maximum_traverse_depth = -1; +static int maximum_traverse_depth = 2000; static char *want_variable = NULL; static char *sysroot_dir = NULL;