Your reasoning is correct, and would have easily been confirmed by any decent manual:
The
strcpy()
function copies the string pointed to bysrc
, including the terminating null byte ('\0'
), to the buffer pointed to bydest
.
Your reasoning is correct, and would have easily been confirmed by any decent manual:
The
strcpy()
function copies the string pointed to bysrc
, including the terminating null byte ('\0'
), to the buffer pointed to bydest
.
For further actions, you may consider blocking this person and/or reporting abuse
Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.
Kartik Mehta -
Gilles Hamelink -
Kareem Itani -
DPC -
Top comments (0)