pcp
[Top] [All Lists]

PCP Updates: False Permission Clashes During Access Configuration

To: PCP <pcp@xxxxxxxxxxx>
Subject: PCP Updates: False Permission Clashes During Access Configuration
From: Dave Brolley <brolley@xxxxxxxxxx>
Date: Mon, 13 May 2013 21:45:26 -0400
Delivered-to: pcp@xxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130311 Thunderbird/17.0.4
The following have been pushed to the brolley/dev branch of the pcpfans repository.

As a note, the failure of test 051 was caused by duplicates in the list of addresses returned by getaddrinfo(), from within __pmGetAddrInfo() for the --without-secure-sockets build. The same failure did not occur for the secure sockets build because the NSPR version of this function, PR_GetAddrInfoByName() filters out the duplicates.

Dave
-----------------------------------------
commit 52314425e3e81873f2e8ea65b1955adea84bd5d8
Author: Dave Brolley <brolley@xxxxxxxxxx>
Date:   Mon May 13 21:20:57 2013 -0400

    Remove lingering reverse address lookup in the NSPR implementation
    of __pmGetAddrInfo().

commit e98e964491118289c228ca4cda59225539dba4dd
Author: Dave Brolley <brolley@xxxxxxxxxx>
Date:   Mon May 13 21:14:17 2013 -0400

    Eliminate duplicately resolved addresses for host access specs.

    When creating the list of resolved addresses for a given host name,
    do not add duplicate addresses to the list. This avoids false
    permission clashes which can occur when the same address is
    processed more than once.

    Fixes qa test case 051 for --without-secure-sockets builds.

<Prev in Thread] Current Thread [Next in Thread>
  • PCP Updates: False Permission Clashes During Access Configuration, Dave Brolley <=