One guard against this is to use snprintf() , which truncates the string to the maximum length you supply. char *x = malloc(5 * sizeof(char)); int size ...
確定! 回上一頁