3 ms·
Static linking means that if a security flaw is found in a dependent component, you're responsible for shipping a whole new application binary to the end users;
by kazinator 6y ago
Static linking means that if a security flaw is found in a dependent component, you're responsible for shipping a whole new application binary to the end users; they can't just pick up some new shared libs from upstream of you.
- pdimitar 6y agoThis goes both ways: if an embarrassing security vulnerability is found in a system library, your users will be safe due to static linking. Both sides are fair points and it depends on a plethora of other factors which should be chosen for any given project.