From c4eef48025d8b80257052064557f2b642ef69290 Mon Sep 17 00:00:00 2001 From: grischka Date: Fri, 26 Nov 2010 20:46:25 +0100 Subject: [PATCH] libtcc: fix s->include_stack_ptr used uninitialized in tcc_open --- libtcc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libtcc.c b/libtcc.c index 61379bc6..55ba5a66 100644 --- a/libtcc.c +++ b/libtcc.c @@ -885,6 +885,7 @@ LIBTCCAPI TCCState *tcc_new(void) #endif s->output_type = TCC_OUTPUT_MEMORY; preprocess_new(); + s->include_stack_ptr = s->include_stack; /* we add dummy defines for some special macros to speed up tests and to have working defined() */ -- 2.11.4.GIT