summaryrefslogtreecommitdiff
path: root/usr.sbin/rtadvd
diff options
context:
space:
mode:
authorGilles Chehade <gilles@cvs.openbsd.org>2011-07-06 20:56:17 +0000
committerGilles Chehade <gilles@cvs.openbsd.org>2011-07-06 20:56:17 +0000
commita584261feffe4db0a2736105d838d795ca524f44 (patch)
tree33fd7d293ecfb0f596c9b8c6eaaf45c4ef3acb6e /usr.sbin/rtadvd
parent71439565dc13acd0c12565c5ffe0070c15a31cb8 (diff)
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 'usr.sbin/rtadvd')
0 files changed, 0 insertions, 0 deletions