Found in 1 comment on Hacker News
pjmlp · 2019-12-08 · Original thread
Yes, you need to dive into books like

Writing Secure Code

https://www.amazon.com/Writing-Secure-Second-Developer-Pract...

Secure Programming Cookbook for C and C++

http://shop.oreilly.com/product/9780596003944.do

SEI CERT C Coding Standard

https://wiki.sei.cmu.edu/confluence/display/c

Fresh book recommendations delivered straight to your inbox every Thursday.