Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 425540

Summary: www-client/seamonkey segfaults when using OpenLDAP to resolve UID/GIDs
Product: Gentoo Linux Reporter: Tully Gray <shadowdaemon>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Tully Gray 2012-07-09 20:49:57 UTC
On systems which use OpenLDAP to resolve UID/GIDs SeaMonkey will segfault (memory violation) after passing a constant string to glibc strtok_r() function.

Reproducible: Always

Steps to Reproduce:
1. Configure net-nds/openldap and sys-auth/nss_ldap (didn't test other LDAP NSS implementations) to resolve UID/GIDs.
2. Start SeaMonkey.

Actual Results:  
SeaMonkey segmentation faults in the glibc strtok_r() function.

Expected Results:  
SeaMonkey should just start up normally.

I can provide mostly complete stack traces if needed.  Also, I fixed the problem by using glibc malloc and strcpy functions to copy the constant string in charray.c from SeaMonkey source.
Comment 1 Jory A. Pratt gentoo-dev 2012-07-10 02:22:31 UTC

*** This bug has been marked as a duplicate of bug 417687 ***