HNHacker News
TopNewBestAskShowJobs

caltrops

8 karma · joined November 14, 2017

submissionscomments
caltrops··on How Discord Resizes 150M Images Every Day with Go and C++
This isn’t one of those. Handing large amounts of unvalidated user input to these libraries is particularly dangerous.
caltrops··on How Discord Resizes 150M Images Every Day with Go and C++
How much does a hack of all your data and/or a major outage cost?

I also recommended a mitigation strategy for unsafe code. Complaining that security is too hard is the reason for the situation we find ourselves in as an industry.

caltrops··on How Discord Resizes 150M Images Every Day with Go and C++
I’d be very worried about a security issue with the unsafe C++ code.

You really have to run this kind of complex parsing in a disposable containerized environment to do it safely. Or do everything carefully and in a memory safe language.