rem: sprintf(temp,"Content-Transfer-Encoding: %s\n",
add: snprintf(temp,sizeof(temp),"Content-Transfer-Encoding: %s\n",
context: void sspm_write_header(struct sspm_buffer *buf,struct sspm_header *header){        int i;    char temp[TMP_BUF_SIZE];			           char* major;     char* minor;         /* Content-type */    major = sspm_major_type_string(header->major);    minor = sspm_minor_type_string(header->minor);    if(header->minor == SSPM_UNKNOWN_MINOR_TYPE ){	assert(header->minor_text !=0);	minor = header->minor_text;    }        sprintf(temp,"Content-Type: %s/%s",major,minor);    sspm_append_string(buf,temp);    if(header->boundary != 0){	sprintf(temp,";boundary=\"%s\"",header->boundary);	sspm_append_string(buf,temp);    }        /* Append any content type parameters */        if(header->content_type_params != 0){	for(i=0; *(header->content_type_params[i])!= 0;i++){	    sprintf(temp,header->content_type_params[i]);	    sspm_append_char(buf,';');	    sspm_append_string(buf,temp);	}    }        sspm_append_char(buf,'\n');    /*Content-Transfer-Encoding */    if(header->encoding != SSPM_UNKNOWN_ENCODING &&	header->encoding != SSPM_NO_ENCODING){	sprintf(temp,"Content-Transfer-Encoding: %s\n",		sspm_encoding_string(header->encoding));    }    sspm_append_char(buf,'\n');}