SILC libraries leaking private symbols
Jérémy Bobbio <[email protected]> Sun, 9 Mar 2008 12:11:54 +0100
| Newsgroups | gmane.network.silc.devel |
|---|---|
| Message-ID | <20080309111154.GF3501@qamar> |
Hi!
While improve the Debian package of silc-toolkit (currently using
1.1.6), I have noticed that libsilc was exporting symbols that should
probably be private (224 of them, if my shell-fu is correct [1]).
For the record, most of these symbols are coming from the various
imported sources implementing crypto algorithms.
As libsilc (and other libraries from the SILC projet) uses a well
defined namespace, it would probably make sense to use libtool's
"-export-symbols-regex" option.
I have done a quick test by adding to LIBTOOL_SILC_VERSION:
-export-symbols-regex '^silc_'
This indeed fixed the issue.
[1] $ objdump -T /usr/lib/libsilc-1.1.so.2.1.0 | grep -v ^00000000 |
grep ^[0-9] | grep -v ' silc_' | grep -v ' _' | wc -l
Cheers,
--
Jérémy Bobbio .''`.
[email protected] : :Ⓐ : # apt-get install anarchism
`. `'`
`-
_______________________________________________________________________
Info: https://lists.silcnet.org/mailman/listinfo/silc-announce
Archive: https://lists.silcnet.org/pipermail/silc-announce
FAQ: http://silcnet.org/support/faq/
signature.asc
(application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFH08X52PUjs9fQ72URAqRzAKDGair6UI3ZQPzcOxJ+d+J9OD23uACeK0p+ Vv5RvzAqZh74yCISYP1bg4Y= =zDKJ -----END PGP SIGNATURE-----