Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 425540 - www-client/seamonkey segfaults when using OpenLDAP to resolve UID/GIDs
Summary: www-client/seamonkey segfaults when using OpenLDAP to resolve UID/GIDs
Status: RESOLVED DUPLICATE of bug 417687
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-09 20:49 UTC by Tully Gray
Modified: 2012-07-10 02:22 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***