[InterNetNews/inn] 46f8a6: Close the batch file descriptor on innxbatch errors
Kevin Bowling
noreply at github.com
Fri Jul 31 16:59:00 UTC 2026
Branch: refs/heads/main
Home: https://github.com/InterNetNews/inn
Commit: 46f8a678ee18f96fe518bab6da27e704747f7fbc
https://github.com/InterNetNews/inn/commit/46f8a678ee18f96fe518bab6da27e704747f7fbc
Author: Kevin Bowling <kevin.bowling at kev009.com>
Date: 2026-07-31 (Fri, 31 Jul 2026)
Changed paths:
M backends/innxbatch.c
Log Message:
-----------
Close the batch file descriptor on innxbatch errors
Net-new: on fstat failure or zero-length batch, innxbatch called
close(i) where i held a leftover setsockopt buffer size, not the
open batch fd. That leaked the batch fd and could close an unrelated
descriptor. Close fd instead.
see #370
To unsubscribe from these emails, change your notification settings at https://github.com/InterNetNews/inn/settings/notifications
More information about the inn-committers
mailing list