~ubuntu-branches/ubuntu/lucid/mailscanner/lucid

« back to all changes in this revision

Viewing changes to lib/css-autoupdate

  • Committer: Bazaar Package Importer
  • Author(s): Simon Walter
  • Date: 2009-01-20 22:23:36 UTC
  • mfrom: (1.1.9 upstream) (2.1.5 sid)
  • Revision ID: james.westby@ubuntu.com-20090120222336-3u0p4b7ps0ht3mgr
Tags: 4.74.16-1
* New upstream release (Closes: #506353)
  Fixes symlink vulnerability CVE-2008-5312, CVE-2008-5313, CVE-2008-5140
* Added new description to install MailScanner with sendmail and queue aging
  README.sendmail.2 thanks to Jim Barber
* Fixed patch for exim installation (Closes: #512338)

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
$CSSDir = shift || "/opt/SYMCScan";
6
6
$CSSUpdateCommand="$CSSDir/bin/liveupdate.sh";
7
7
 
8
 
$LockFile = "/tmp/SYMCScan.lock";
 
8
$LockFile = shift || "/var/spool/MailScanner/incoming/Locks/cssBusy.lock";
9
9
 
10
10
$LOCK_SH = 1;
11
11
$LOCK_EX = 2;
62
62
 
63
63
sub UnlockCSS {
64
64
        print LOCK "Unlocked after updating CSS patterns by $$\n";
65
 
        unlink $LockFile;
66
65
        flock(LOCK, $LOCK_UN);
67
66
        close LOCK;
68
67
}