3 ms·
Use a proper C string library like SDS. Or move up from the 1970's Bell Labs, adopt C++ with the respective compiler switches to have bounds checking enabled f
by pjmlp 2y ago
Use a proper C string library like SDS.
Or move up from the 1970's Bell Labs, adopt C++ with the respective compiler switches to have bounds checking enabled for operator[]().
Better yet, use something else instead of one of those two, pick whatver is your fancy.