Projects / Advanced

🧨 A long name makes you an admin: catch the overflow with ASan and fix it

What you end up with

A format_name() that takes the buffer size and returns false when the name does not fit, plus one edge-case test run under ASan. And for every line that touches a string, you can say how many bytes it writes and how many bytes the destination has.

🔒

Create a free account to read this project

Sign up for a free membership to read every free project. Already have an account? Please sign in.

Other projects

← Back to all projects