1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-03-09 15:50:02 +00:00

dtcm: Coverity 89452 and 89661

This commit is contained in:
Peter Howkins 2018-07-04 22:36:39 +01:00
parent aba6416554
commit 27e3d9a42a

View file

@ -1532,6 +1532,9 @@ rfc1522cpy(char * buf, const char * value)
strncat(buf,"=?", 2); strncat(buf,"=?", 2);
strncat(buf,_tmp2_, strlen(_tmp2_)); strncat(buf,_tmp2_, strlen(_tmp2_));
strncat(buf,"?q?", 3); strncat(buf,"?q?", 3);
free(_tmp1_);
free(_tmp2_);
} else if ( !strncasecmp( ret_codeset, "ISO-2022-JP", 11 ) ) { } else if ( !strncasecmp( ret_codeset, "ISO-2022-JP", 11 ) ) {
/* /*
* According to RFC1468, in the Header Field, we should use * According to RFC1468, in the Header Field, we should use