2 ms·
> You can't deploy a new library to close a library security hole, for programs that have statically linked it. Of course you can. You just recompile affected
by yakubin 3y ago
> You can't deploy a new library to close a library security hole, for programs that have statically linked it.
Of course you can. You just recompile affected programs. Just like you need to do in the case of header-only C/C++ libraries like much of widely-used Boost. And if the library is not strictly header-only, but still has significant code in headers, as is often the case in C++, if you only swap the dynamic library, the program is still broken, or much more likely: it becomes broken, even though it originally wasn’t.
- kazinator 3y agoPrograms on GNU/Linux linked against glibc can be proprietary.