Buffer overrun while doing tests like format/c90-printf-1.c on linux?

Alexandre Oliva aoliva@redhat.com
Fri Jul 19 09:54:00 GMT 2002


On Jul 18, 2002, Joern Rennecke <joern.rennecke@superh.com> wrote:

> Alexandre, David, what version of the kernel / libexpect /
> libtcl / libdl / libm / libutil / libc / dejagnu / expect are
> you using so that you can get consistently clean results?

erhm...  I use the unified tree for my test results.  But, for this
particular test, the trick is to always use a pathnames with the same
length.  The amount of output printed by the compiler exceeds some
expect/dejagnu buffer limit, so only the first many error messages are
matched, and the rest is regarded as missing output ==> failures.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist                Professional serial bug killer



More information about the Gcc mailing list