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

« back to all changes in this revision

Viewing changes to src/postscreen/postscreen.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:
823
823
     * 
824
824
     * Start the cache maintenance pseudo thread after dropping privileges.
825
825
     */
826
 
#define PSC_DICT_OPEN_FLAGS (DICT_FLAG_DUP_REPLACE | DICT_FLAG_SYNC_UPDATE)
 
826
#define PSC_DICT_OPEN_FLAGS (DICT_FLAG_DUP_REPLACE | DICT_FLAG_SYNC_UPDATE | \
 
827
            DICT_FLAG_OPEN_LOCK)
827
828
 
828
829
    if (*var_psc_cache_map)
829
830
        psc_cache_map =