Blocking the whole country is an interesting move, mostly because it has the potential to generate a much greater public outcry than simply masking away the few specific books in question, putting a greater public pressure to reevaluate the entire legal constructs surrounding these issues. It's a display of standing for your principles without compromise.
This has much less to do with C, than it has to do with the fact that sqlite is a huge codebase.
Software can be vulnerable regardless of the programming languages used.