~yolanda.robla/ubuntu/saucy/clamav/dep-8-tests

« back to all changes in this revision

Viewing changes to libclamav/unzip.c

  • Committer: Bazaar Package Importer
  • Author(s): Scott Kitterman, Scott Kitterman, Jamie Strandboge
  • Date: 2009-04-10 21:57:17 UTC
  • Revision ID: james.westby@ubuntu.com-20090410215717-1rsik8ezsgkkeqom
Tags: 0.95.1+dfsg-0ubuntu1
[ Scott Kitterman ]
* New upstream bugfix release 
  - libclamav/others.h: harden CLI_ISCONTAINED macro (bb#1552)
  - libclamav/phishcheck.c: fix possible crash in cli_url_canon() (bb#1553)
  - Signficant clamav-milter bug fixes
  - Other fixes throughout
* Drop ArchiveLimitMemoryUsage option from clamav-base.postinst.in (option
  removed upstream)
* Add CommandReadTimeout, SendBufTimeout, and MaxQueue to
  clamav-base.postinst.in
* Add SkipAuthenticated to clamav-milter.postinst.in
* Drop unrar and lha from clamav Suggests since external unpackers are not
  supported since 0.94

[ Jamie Strandboge ]
* fix freshclam apparmor profile for klamav (LP: #359301)

Show diffs side-by-side

added added

removed removed

Lines of Context:
501
501
  }
502
502
#else
503
503
  if(fsize > CLI_MAX_ALLOCATION) {
504
 
    cli_warnmsg("cli_unzip: unzip support not compiled in and file is too big\n");
 
504
    cli_warnmsg("cli_unzip: mmap not available and file is too big\n");
505
505
    return CL_CLEAN;
506
506
  }
507
507
  lseek(f, 0, SEEK_SET);
591
591
  }
592
592
#else
593
593
  if(st.st_size > CLI_MAX_ALLOCATION) {
594
 
    cli_warnmsg("cli_unzip: unzip support not compiled in and file is too big\n");
 
594
    cli_warnmsg("cli_unzip: mmap not available and file is too big\n");
595
595
    return CL_CLEAN;
596
596
  }
597
597
  lseek(f, 0, SEEK_SET);