GNU bug report logs - #34134
27.0.50; process-contact for accepted sockets broken

Previous Next

Package: emacs;

Reported by: Mathew Handugan <mathew <at> handugan.com>

Date: Sat, 19 Jan 2019 10:36:02 UTC

Severity: normal

Found in version 27.0.50

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


Message #13 received at 34134-done <at> debbugs.gnu.org (full text, mbox):

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Eli Zaretskii <eliz <at> gnu.org>, Mathew Handugan <mathew <at> handugan.com>
Cc: 34134-done <at> debbugs.gnu.org
Subject: Re: bug#34134: 27.0.50; process-contact for accepted sockets broken
Date: Wed, 30 Jan 2019 15:13:51 -0800
[Message part 1 (text/plain, inline)]
On 1/25/19 12:07 AM, Eli Zaretskii wrote:
>> From: Mathew Handugan <mathew <at> handugan.com>
>> Date: Fri, 18 Jan 2019 22:52:41 -0800
>>
>> Git commit be9e60fc3c43cc49cc5d749924c3e96737ae297c  causes accepted sockets to store 't as :host
>> instead of the string-formatted peer IP address.
>>
>> This manifests as
>>   (process-contact proc)
>> returning something like
>>   (t 55269)
>>
>> instead of the expected:
>>   ("192.168.2.13" 55269)
> Thanks.  Paul, could you please take a look at this?

Thanks for reporting the bug, especially the test case. I reproduce the 
problem and fixed it by installing the attached patch into the emacs-26 
branch on Savannah.

[0001-Fix-process-contact-bug-with-TCP-connections.patch (text/x-patch, attachment)]

This bug report was last modified 6 years and 191 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.