diff options
| author | grischka <grischka> | 2010-11-26 20:46:25 +0100 |
|---|---|---|
| committer | grischka <grischka> | 2010-11-26 20:46:50 +0100 |
| commit | c4eef48025d8b80257052064557f2b642ef69290 (patch) | |
| tree | 6121855390fd1ec06bd4bd6267cd6d895d6158fa | |
| parent | 77e4679aec7196a8abb99362a456850591d2062d (diff) | |
| download | tinycc-c4eef48025d8b80257052064557f2b642ef69290.tar.gz tinycc-c4eef48025d8b80257052064557f2b642ef69290.tar.bz2 | |
libtcc: fix s->include_stack_ptr used uninitialized in tcc_open
| -rw-r--r-- | libtcc.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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() */ |
