3 ms·
> But keep in mind that "buffer overflow within a struct" is often considered a feature. Yes this is used rampantly in any kind of code that's running in basic
by mlindner 3y ago
> But keep in mind that "buffer overflow within a struct" is often considered a feature.
Yes this is used rampantly in any kind of code that's running in basically all of the world's network appliances that do packet processing.
I'd even say it's considered "best practice" by most C programmers.
- layer8 3y agoIt's been an explicit language feature (flexible array members) since C99.