3 ms·
Thank you! Are you aware of any surfaces of attack against Go that do no exist in C?
by varispeed 6y ago
Thank you! Are you aware of any surfaces of attack against Go that do no exist in C?
- pjmlp 6y agoOnly stuff that might exploit bugs in the standard library, or runtime implementation. As everything, even formal specification based languages might have logical bugs in them. What C gets on top of that are memory corruption bugs and optimization bugs caused by optimizers taking advantage of UB. Naturally that can also happen in unsafe code blocks in other languages, the big difference in C is due to its strings and arrays, almost every line of code manipulates pointers without bounds checking, and exploits ensue.