Closed Bug 363303 Opened 18 years ago Closed 17 years ago

libxul exports jpeg symbols when using bundled libjpeg

Categories

(Core Graveyard :: Embedding: GRE Core, defect)

x86
Linux
defect
Not set
major

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: mozillabugs.philipl, Unassigned)

Details

Unlike the bundled zlib and libpng, there is no symbol name rewriting done for libjpeg. This causes libxul to export those jpeg symbols which could be incorrectly used by an embedding application and lead to a crash.

As an example, I was getting crashes in galeon when visiting websites using jpeg favicons because the gdkpixbuf jpeg loader ended up using jpeg symbols from libxul instead of the system libjpeg. I worked around it locally by building --with-system-jpeg but the correct thing should be done in the bundled case.
Flags: blocking1.9?
With modern GCC that supports #pragma visibility (which includes all of our trunk compilers) this is not an issue. WFM
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → WORKSFORME
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.