On Wed, Jan 13, 2021 at 12:13:23AM +0100, Ignacy Kuchciński wrote: > Some kernels require the MAX_SRCFILE_DEPTH to be bigger than 100, Wow... > and > since it's just a sanity check to detect infinite recursion it shouldn't > hurt increasing it to 200. Fair enough, applied. > > Signed-off-by: Ignacy Kuchciński <ignacykuchcinski@xxxxxxxxx> > --- > srcpos.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/srcpos.c b/srcpos.c > index f5205fb..4fdb22a 100644 > --- a/srcpos.c > +++ b/srcpos.c > @@ -20,7 +20,7 @@ struct search_path { > static struct search_path *search_path_head, **search_path_tail; > > /* Detect infinite include recursion. */ > -#define MAX_SRCFILE_DEPTH (100) > +#define MAX_SRCFILE_DEPTH (200) > static int srcfile_depth; /* = 0 */ > > static char *get_dirname(const char *path) -- David Gibson | I'll have my music baroque, and my code david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_ | _way_ _around_! http://www.ozlabs.org/~dgibson
Attachment:
signature.asc
Description: PGP signature