logoalt Hacker News

akoboldfryingtoday at 12:30 AM1 replyview on HN

Why would statically linking a library reduce the number of vulnerabilities in it?

AFAICT, static linking just means the set of vulnerabilities you get landed with won't change over time.


Replies

cookiengineertoday at 12:44 AM

> Why would statically linking a library reduce the number of vulnerabilities in it?

I use pure go implementations only, and that implies that there's no statically linked C ABI in my binaries. That's what disabling CGO means.

show 1 reply