Re: [Tinycc-devel] [PATCH] invalid memory access in free_section()

2009-04-04 Thread grischka
David Raulo wrote: Hi, I am a user of the libtcc API; the code I'm working with comes from the tip of git://repo.or.cz/tinycc.git Here is a test case which causes a crash under MSVC; it seems to pass under Linux, except if you take a closer look with valgrind (see attached file

[Tinycc-devel] [PATCH] invalid memory access in free_section()

2009-03-20 Thread David Raulo
Hi, I am a user of the libtcc API; the code I'm working with comes from the tip of git://repo.or.cz/tinycc.git Here is a test case which causes a crash under MSVC; it seems to pass under Linux, except if you take a closer look with valgrind (see attached file tcc_delete_test.c) What happens _I