[Rpm-maint] [rpm-software-management/rpm] treat 0 as valid file descriptor (PR #1891)
Demi Marie Obenour
notifications at github.com
Thu Jan 20 13:19:45 UTC 2022
> I meet this problem because we use gunicorn and flask to test rpm. It seems that gunicorn will close stdin during testing (not know why and how for now). Since rpm treats 0 as valid descriptor in many other places, I see no reason why not here.
That’s a gunicorn bug; it should point stdin at `/dev/null` instead. Otherwise programs risk having stdin point to a random file.
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/1891#issuecomment-1017497439
You are receiving this because you are subscribed to this thread.
Message ID: <rpm-software-management/rpm/pull/1891/c1017497439 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20220120/25b39058/attachment.html>
More information about the Rpm-maint
mailing list