View Issue Details

IDProjectCategoryView StatusLast Update
0005488libextractorlibextractor main librarypublic2019-02-14 09:30
Reporterbeberking Assigned ToChristian Grothoff Due Date
PrioritynormalSeverityminorReproducibilityN/A
Status closedResolutionfixed 
OSLinux 
Product Version1.8 
Target Version1.9Fixed in Version1.9 
Summary0005488: Libextractor exports private symbols that are not declared in extractor.h
DescriptionHi,

Libextractor currently exports private symbols that are not declared in extractor.h. In addition, all plugins exports symbols, while they do not provide public header.

Please find attached the list of all exported symbols, which is way longer than extractor.h.

Exporting only chosen symbols can be done with libtool's -export-symbols and -export-symbols-regex options, or you can use the same trick as in libmicrohttpd (_MHD_EXTERN).

Cheers,
Bertrand
TagsNo tags attached.
Attached Files
libextractor3.symbols (5,109 bytes)

Activities

Christian Grothoff

2018-12-01 23:53

manager   ~0013379

Well, the plugins _must_ export those symbols, otherwise dlsym wouldn't work. So that one is expected and fine. But you are right, we should use the MHD-trick and avoid exporting the symbols from the main library.

Christian Grothoff

2018-12-02 11:09

manager   ~0013380

Fixed in 48a2376..fff0675

Issue History

Date ModifiedUsernameFieldChange
2018-11-27 13:31beberkingNew Issue
2018-11-27 13:31beberkingFile Added: libextractor3.symbols
2018-12-01 23:53Christian GrothoffNote Added: 0013379
2018-12-01 23:53Christian GrothoffAssigned To => Christian Grothoff
2018-12-01 23:53Christian GrothoffStatusnew => assigned
2018-12-01 23:53Christian GrothoffTarget Version => 1.9
2018-12-02 11:09Christian GrothoffNote Added: 0013380
2018-12-02 11:09Christian GrothoffStatusassigned => resolved
2018-12-02 11:09Christian GrothoffResolutionopen => fixed
2018-12-02 11:09Christian GrothoffFixed in Version => 1.9
2019-02-14 09:30Christian GrothoffStatusresolved => closed