10 ms·
Honestly, the more I was researching about what happened in that glibc version update, the more I thought "self inflicted". If you're using NULL terminated str
by cookiengineer 2y ago
Honestly, the more I was researching about what happened in that glibc version update, the more I thought "self inflicted".
If you're using NULL terminated strings everywhere, and not UTF8/16, it's your own fault for doing so. Especially if you are building a database which should always contain a length of bytes or at least a CRC check before each entry's contents in its serialized file format to prevent exactly this from happening.
(Let alone the question why is there no schema version that should have prevented this from happening in the first place)