GNU bug report logs - #46342
28.0.50; socks-send-command munges IP address bytes to UTF-8

Previous Next

Package: emacs;

Reported by: "J.P." <jp <at> neverwas.me>

Date: Sat, 6 Feb 2021 11:47:01 UTC

Severity: normal

Tags: fixed, patch

Found in version 28.0.50

Fixed in version 28.1

Done: "J.P." <jp <at> neverwas.me>

Bug is archived. No further changes may be made.

Full log


Message #47 received at 46342 <at> debbugs.gnu.org (full text, mbox):

From: "J.P." <jp <at> neverwas.me>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 46342 <at> debbugs.gnu.org
Subject: Re: bug#46342: 28.0.50; socks-send-command munges IP address bytes
 to UTF-8
Date: Wed, 17 Feb 2021 06:59:07 -0800
[Message part 1 (text/plain, inline)]
Eli Zaretskii <eliz <at> gnu.org> writes:

> So what is the problem with using unibyte-string for producing a
> unibyte string from a list of bytes?  It sounds like it's exactly
> what is needed here, and is actually used in some places in socks.el.

Great, thanks. That's what was needed indeed. I've updated things
accordingly and have added a doc string to socks-send-command explaining
the address parameter.

[0001-Add-more-auth-related-tests-for-socks.el.patch (text/x-patch, attachment)]
[0002-Use-raw-bytes-for-SOCKS-4-IP-addresses.patch (text/x-patch, attachment)]

This bug report was last modified 4 years and 87 days ago.

Previous Next


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