Actions
Bug #2698
closedlibctf should use libz.so.1, not libz.so
Start date:
2012-05-07
Due date:
% Done:
100%
Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:
Description
Presently, libctf's decompression routine dlopen(3c)s libz.so. This is incorrect; it, like any dlopen user, makes assumptions about the symbols provided by the library that are specific to the major version. As such, it should be using libz.so.1 rather than relying on the compilation symlink. This is guaranteed to be safe even if a different libz appears in the same address space because it is already correctly using RTLD_LOCAL.
Actions