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

« back to all changes in this revision

Viewing changes to shared/tar.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:
60
60
        unsigned int i, chksum = 0;
61
61
 
62
62
 
63
 
    if((s = open(file, O_RDONLY|O_BINARY)) == -1) {
64
 
        close(s);
 
63
    if((s = open(file, O_RDONLY|O_BINARY)) == -1)
65
64
        return -1;
66
 
    }
67
65
 
68
66
    if(fstat(s, &sb) == -1) {
69
67
        close(s);