如果to 的空間不夠,則會引起buffer overflow。strcpy 常規的實現程式碼如下(來自OpenBSD 3.9): char *strcpy(char *to, const char *from) { char ...
確定! 回上一頁