@onlinepersona to Programmer HumorEnglish • 5 days ago"No way to prevent this" say users of only language where this regularly happens - 07/01/2024xeiaso.netmessage-square21arrow-up148arrow-down113file-text
arrow-up135arrow-down1external-link"No way to prevent this" say users of only language where this regularly happens - 07/01/2024xeiaso.net@onlinepersona to Programmer HumorEnglish • 5 days agomessage-square21file-text
minus-square@BatmanAoDlink25•5 days agoThe trope will be “old” once the mainstream view is no longer that C-style memory management is “good enough”. That said, this particular vulnerability was primarily due to how signals work, which I understand to be kind of unavoidably terrible in any language.
minus-square@5C5C5Ccakelink4•5 days agoA better language wouldn’t have any need to use POSIX signals in this way.
minus-square@BatmanAoDlink7•5 days agoI’m not totally clear on why signals are used here in the first place. Arguably most C code doesn’t “need” to use signals in complex ways, either.
The trope will be “old” once the mainstream view is no longer that C-style memory management is “good enough”.
That said, this particular vulnerability was primarily due to how signals work, which I understand to be kind of unavoidably terrible in any language.
A better language wouldn’t have any need to use POSIX signals in this way.
I’m not totally clear on why signals are used here in the first place. Arguably most C code doesn’t “need” to use signals in complex ways, either.