Skip to content
This repository was archived by the owner on Mar 10, 2026. It is now read-only.
This repository was archived by the owner on Mar 10, 2026. It is now read-only.

getnameinfo()/getaddrinfo() fd-leak on OSF1 #2034

Closed

Description

@michaelrsweet

Version: 1.2.4
CUPS.org User: xraz

cups' usage of getnameinfo/getaddrinfo triggers a bug in Compaq Tru64
UNIX V5.1B (Rev. 2650) which results in opening an instance of
/etc/hosts and /etc/ipnodes for every call (and not closing it again)

it seems that other software on OSF1 triggers the same bug. i don't
know if it is triggered by special circumstances or parameters in cups
or if it is unavoidable when using the getXXinfo() calls

undef-ing HAVE_GETNAMEINFO/GETADDRINFO (using getXXbyYY()) works

around the fd-leak

Activity

  1. michaelrsweet commented on Oct 20, 2006

    @michaelrsweet
    ContributorAuthor

    CUPS.org User: mike

    I assume that HP has not already fixed and is not going to fix this bug?

    Pending a real configure test for this error, I've just disabled those two functions on OSF1...

  2. added this to the Stable milestone on Mar 17, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions