diff options
author | 2011-07-06 20:56:16 +0000 | |
---|---|---|
committer | 2011-07-06 20:56:16 +0000 | |
commit | 973ed8f791f3cc8c10ac10f8027c1f791fa0cc45 (patch) | |
tree | 3f8b19e2ef5aaf277a91a252dbe7567135df6603 /sys/kern/kern_physio.c | |
parent | Add RADIUS accounting support and some authentication related changes: (diff) | |
download | wireguard-openbsd-973ed8f791f3cc8c10ac10f8027c1f791fa0cc45.tar.xz wireguard-openbsd-973ed8f791f3cc8c10ac10f8027c1f791fa0cc45.zip |
fix that fscking "fgetln(): bad file descriptor" bug experienced by many.
long story short: datafp is reused by the possibly multiple client sessions
of a MTA session. fclosing it in client_close() will cause the file pointer
to be invalidated as soon as we fail the primary MX and attempt the second.
bug introduced while trying to fix a leak causing a crash for a user, now
smtpd will unconditionnally fclose() in MTA_DONE and if a leak still exists
then we should track why the mta session doesnt reach MTA_DONE.
Diffstat (limited to 'sys/kern/kern_physio.c')
0 files changed, 0 insertions, 0 deletions