~ubuntu-branches/ubuntu/trusty/postfix/trusty

« back to all changes in this revision

Viewing changes to src/verify/verify.c

  • Committer: Bazaar Package Importer
  • Author(s): LaMont Jones, Wietse Venema, LaMont Jones
  • Date: 2011-05-10 08:40:13 UTC
  • mfrom: (1.1.30 upstream) (33.1.10 natty-proposed)
  • Revision ID: james.westby@ubuntu.com-20110510084013-eeoaeuuet3projj7
Tags: 2.8.3-1
[Wietse Venema]

* 2.8.3
  - Cleanup: postscreen(8) and verify(8) daemons now lock their respective
    cache file exclusively upon open, to avoid massive cache corruption
    by unsupported sharing.
  - Bugfix (introduced with Postfix SASL patch 20000314): don't reuse a
    server SASL handle after authentication failure.  CVE-2011-1720

[LaMont Jones]
* Ack ubuntu fixes for multiarch.  Closes: #620326, #625674

Show diffs side-by-side

added added

removed removed

Lines of Context:
664
664
     * 
665
665
     * Start the cache cleanup thread after permanently dropping privileges.
666
666
     */
667
 
#define VERIFY_DICT_OPEN_FLAGS (DICT_FLAG_DUP_REPLACE | DICT_FLAG_SYNC_UPDATE)
 
667
#define VERIFY_DICT_OPEN_FLAGS (DICT_FLAG_DUP_REPLACE | DICT_FLAG_SYNC_UPDATE \
 
668
            | DICT_FLAG_OPEN_LOCK)
668
669
 
669
670
    saved_mask = umask(022);
670
671
    verify_map =