Bugtraq mailing list archives
Re: Postfix design directions
From: cadams () RO COM (Chris Adams)
Date: Wed, 23 Dec 1998 14:35:12 -0600
Once upon a time, Wietse Venema <wietse () PORCUPINE ORG> said:
Attack 2 is a wash. Postfix deletes a queue file that has multiple links, so that the link count goes down; Postfix delivers a queue file that has one hard link and that satisfies the Postfix-specific record structure and record sequence requirements; Postfix discards any other queue file.
Seems like there could be race conditions here too. For example, if you check the link count, and if it is 1, process the file and unlink it, someone could wait until you are processing the file to create a hard link to it. Then, after you unlinked the first copy, the second copy would again have a link count of 1. -- Chris Adams - cadams () ro com System Administrator - Renaissance Internet Services I don't speak for anybody but myself - that's enough trouble.
Current thread:
- Postfix design directions Wietse Venema (Dec 22)
- Re: Postfix design directions Chris Adams (Dec 23)
- Re: Postfix design directions Peter van Dijk (Dec 23)
- Re: Postfix design directions Wietse Venema (Dec 23)
- Re: Postfix design directions Perry E. Metzger (Dec 23)
- Re: Postfix design directions Wietse Venema (Dec 23)
- Re: Postfix design directions Richard Kail (Dec 23)
- Re: Postfix design directions Ewen McNeill (Dec 23)