properly initialise output buffer

git-svn: trunk@881
remotes/push_mirror/metadata
Trog 21 years ago
parent 97867f21ae
commit 75cbd4fbba
  1. 4
      clamav-devel/ChangeLog
  2. 2
      clamav-devel/libclamav/htmlnorm.c

@ -1,3 +1,7 @@
Thu Sep 16 14:30:15 BST 2004 (trog)
-----------------------------------
* libclamav/htmlnorm.c: properly initialise output buffer
Thu Sep 16 14:00:05 BST 2004 (njh)
----------------------------------
* libclamav/mbox.c: Handle broken email headers that use equals signs or

@ -999,6 +999,8 @@ int html_screnc_decode(int fd, const char *dirname)
snprintf(filename, 1024, "%s/screnc.html", dirname);
file_buff.fd = open(filename, O_WRONLY|O_CREAT|O_TRUNC, S_IRWXU);
file_buff.length = 0;
if (!file_buff.fd) {
cli_dbgmsg("open failed: %s\n", filename);
fclose(stream_in);

Loading…
Cancel
Save