RE: [PHP-DEV] [PATCH] fix symbol namespace pollution from bundled libgd
| From: | Steph | Date: | Wed, 04 Aug 2004 11:08:18 +0000 |
| Subject: | RE: [PHP-DEV] [PATCH] fix symbol namespace pollution from bundled libgd | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-11897@lists.php.net to get a copy of this message | ||
> On Fri, 23 Jul 2004, Joe Orton wrote:
>
> > Building the bundled libgd library into PHP causes symbol namespace
> > pollution; if any other Apache modules link a different version of libgd
> > into the Apache process they may instead pick up symbols from the PHP
> > libgd, and segfault randomly. (One of our users saw this when using
> > mod_perl with Perl::GD)
>
> Hmm, I don't really like this "hiding" of symbol names. Why just not fix
> our bundled GD to use the correct names?
Is that actually the issue? How do you know which versions of libgd are
being used by other projects?
There was a positive response to Joe's patch initially (off-list). Is
anyone planning to adapt it for 5_0 branch before the 5.0.1 release, is it
going to wait until 5.1, or is it now abandoned for some reason?
Just wondering..
- Steph