3 ms·
So they're replacing memcpy(dst, src, len) with memcpy_s(dst, dst_len, src, src_len) To me, this seems a little desperate. Aren't they just shifting the
by pmjordan 17y ago
So they're replacing
memcpy(dst, src, len)
with
memcpy_s(dst, dst_len, src, src_len)
To me, this seems a little desperate. Aren't they just shifting the bugs to a later stage? I guess a spurious read is slightly better than a spurious write, but it all seems incredibly arbitrary.