Bug#537622: tcc FTB mksh with bounds checking

2014-04-01 Thread Thorsten Glaser
Thomas Preudhomme dixit: > That's special casing environ. The same problem happen for sys_siglist or > other > variable. Basically anything not compiled with tcc will be a problem as there Ah, right. And since we use sys_siglist[] and (if exists) sys_signame[] we’ll clash there too… bye, //mira

Bug#537622: tcc FTB mksh with bounds checking

2014-04-01 Thread Thomas Preudhomme
Le 2014-04-01 00:43, Thorsten Glaser a écrit : Ah okay. The problem is that “environ” is more portable than what I got to know as “envp” and you called “arge”, so the shell uses that instead. Ah yeah envp. I totally forgot the usual name as I almost never write a program from scratch and when

Bug#537622: tcc FTB mksh with bounds checking

2014-03-31 Thread Thorsten Glaser
Thomas Preud'homme dixit: >> >failed on the use of environ because the bound checking code cannot know >> >the size of the valid area for environ and thus thinks an unsafe access is >> >being >> Hm. Well, “environ” is just a pointer to some (structured but not >> easily bound) memory are. There *

Bug#537622: tcc FTB mksh with bounds checking

2014-03-31 Thread Thomas Preud'homme
Le dimanche 30 mars 2014, 18:19:32 Thorsten Glaser a écrit : > Oh, nice. I’ve found logs of bugs in, for example, GCC with it too, > but They never bothered to fix them, they just deprecated the code. We'll try to avoid that but it seems quite clear that that will imply doing less checks to cover

Bug#537622: tcc FTB mksh with bounds checking

2014-03-30 Thread Thorsten Glaser
Thomas Preud'homme dixit: >I took a look at this bug recently. Thanks to this, two bugs have been fixed >in Oh, nice. I’ve found logs of bugs in, for example, GCC with it too, but They never bothered to fix them, they just deprecated the code. >I managed to go a bit further by changing the con

Bug#537622: tcc FTB mksh with bounds checking

2014-03-30 Thread Thomas Preud'homme
Le mardi 3 janvier 2012 17:03:29, vous avez écrit : > > I’m omitting -b when building mksh with tcc now, and it works > and passes its testsuite fully, on i386. Just FYI. I took a look at this bug recently. Thanks to this, two bugs have been fixed in tcc. Sadly it was regression both in tcc and

Bug#537622: tcc FTB mksh with bounds checking

2012-01-03 Thread Thorsten Glaser
found 537622 tcc/0.9.25-11 severity 537622 minor thanks I’m omitting -b when building mksh with tcc now, and it works and passes its testsuite fully, on i386. Just FYI. bye, //mirabilos -- “Having a smoking section in a restaurant is like having a peeing section in a swimming pool.”