~ubuntu-branches/ubuntu/raring/clamav/raring

« back to all changes in this revision

Viewing changes to libclamav/sis.c

  • Committer: Bazaar Package Importer
  • Author(s): Stephen Gran
  • Date: 2008-09-05 17:25:34 UTC
  • mfrom: (0.35.1 lenny)
  • Revision ID: james.westby@ubuntu.com-20080905172534-yi3f8fkye1o7u1r3
* New upstream version (closes: #497662, #497773)
  - lots of new options for clamd.conf
  - fixes CVEs CVE-2008-3912, CVE-2008-3913, CVE-2008-3914, and
    CVE-2008-1389
* No longer supports --unzip option, so typo is gone (closes: #496276)
* Translations:
  - sv (thanks Martin Bagge <brother@bsnet.se>) (closes: #491760)

Show diffs side-by-side

added added

removed removed

Lines of Context:
41
41
#include "others.h"
42
42
#include "clamav.h"
43
43
#include "scanners.h"
 
44
#include "sis.h"
44
45
 
45
46
#define EC32(x) le32_to_host(x)
46
47
#define EC16(x) le16_to_host(x)
506
507
            return CL_EIO;
507
508
          }
508
509
          if (cli_writen(fd, decomp, olen)!=(int)olen) {
 
510
            close(fd);
509
511
            free(decomp);
510
512
            free(ptrs);
511
513
            free(alangs);
 
514
            close(fd);
512
515
            return CL_EIO;
513
516
          }
514
517
          free(decomp);