Bug 38356 - zsh segfaults with glibc-2.3.2-r9
Bug#: 38356 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: All Status: RESOLVED Severity: critical Priority: P2
Resolution: FIXED Assigned To: usata@gentoo.org Reported By: nall@themountaingoats.net
Component: Applications
URL: 
Summary: zsh segfaults with glibc-2.3.2-r9
Keywords:  
Status Whiteboard: 
Opened: 2004-01-15 16:51 0000
Description:   Opened: 2004-01-15 16:51 0000
it appears that zsh relies on a certain behavior of strncmp that has changed in
the latest glibc, causing it to SIGSEGV on some filename completions. attaching
a patch that fixes this for me.

------- Comment #1 From Jonathan Nall 2004-01-15 16:52:05 0000 -------
Created an attachment (id=23893) [details]
fix for strncmp bug

------- Comment #2 From Jonathan Nall 2004-01-15 16:53:04 0000 -------
Created an attachment (id=23894) [details]
ebuild for the new patch

------- Comment #3 From Martin Schlemmer (RETIRED) 2004-01-18 02:10:43 0000 -------
Mamoru, please have a look - you might want to do it soonish, as -r9 is already
stable on a few arch's ...

------- Comment #4 From Mamoru KOMACHI (RETIRED) 2004-01-18 10:01:05 0000 -------
Yup, I checked and applied the patch. Thanks for reporting.