I received an off-list report of a test-strstr failure on m4 1.4.15:

Linux xxx 2.6.34-gentoo-r1 #1 SMP Sun Aug 8 17:45:07 MDT 2010 alpha GNU/Linux
gcc (Gentoo 4.4.3-r2 p1.2) 4.4.3

/bin/sh: line 1: 30207 Segmentation fault (core dumped) EXEEXT='' srcdir='.' LOCALE_FR='fr_FR' LOCALE_FR_UTF8='fr_FR.UTF-8' LIBSIGSEGV='/usr/local/lib/libsigsegv.a -lc' LOCALE_FR='fr_FR' LOCALE_TR_UTF8='tr_TR.UTF-8' LOCALE_FR='fr_FR' LOCALE_FR_UTF8='fr_FR.UTF-8' LOCALE_JA='ja_JP' LOCALE_ZH_CN='zh_CN.GB18030' LOCALE_FR_UTF8='fr_FR.UTF-8' LOCALE_FR='fr_FR' LOCALE_FR_UTF8='fr_FR.UTF-8' PATH='/local/build/cc/m4-1.4.15/build-aux':"$PATH" PATH='/local/build/cc/m4-1.4.15/build-aux':"$PATH" MAKE='make' LOCALE_FR='fr_FR' LOCALE_FR_UTF8='fr_FR.UTF-8' LOCALE_JA='ja_JP' LOCALE_ZH_CN='zh_CN.GB18030' "$tst" > test-strstr.log-t 2>&1
FAIL: test-strstr

I'm not sure which version of glibc is running on this platform, but it seems like we should be working around this bug (and also reporting it to glibc, if it hasn't yet been fixed there). I'm also trying to see if I can log in to that machine and reproduce precisely which search is causing the out-of-bounds reference from glibc's strstr implementation.

--
Eric Blake   ebl...@redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Reply via email to