History

libtcc: fix s->include_stack_ptr used uninitialized in tcc_open

grischka committed 15 years ago

Commit c4eef481 parent 77e46791 file · +1 −0Browse files

Unified · Split

libtcc.c+1−0
@@ -885,6 +885,7 @@ LIBTCCAPI TCCState *tcc_new(void) · 884 unmodified lines
885#endif885#endif
886 s->output_type = TCC_OUTPUT_MEMORY;886 s->output_type = TCC_OUTPUT_MEMORY;
887 preprocess_new();887 preprocess_new();
888 s->include_stack_ptr = s->include_stack;
888 889
889 /* we add dummy defines for some special macros to speed up tests890 /* we add dummy defines for some special macros to speed up tests
890 and to have working defined() */891 and to have working defined() */

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t