[Rpm-maint] [rpm-software-management/rpm] treat 0 as valid file descriptor (PR #1891)

Einsler Lee notifications at github.com
Thu Jan 20 12:00:47 UTC 2022


The descriptor is openned in rpmpkgOpen, and we treat 0 as valid file descriptor.
Here we should do the same or fail earlier.
You can view, comment on, or merge this pull request online at:

  https://github.com/rpm-software-management/rpm/pull/1891

-- Commit Summary --

  * treat 0 as valid file descriptor

-- File Changes --

    M lib/backend/ndb/rpmpkg.c (2)

-- Patch Links --

https://github.com/rpm-software-management/rpm/pull/1891.patch
https://github.com/rpm-software-management/rpm/pull/1891.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/1891
You are receiving this because you are subscribed to this thread.

Message ID: <rpm-software-management/rpm/pull/1891 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20220120/656d5a57/attachment.html>


More information about the Rpm-maint mailing list