Bug 695768 - nc gives nonsense since update
Summary: nc gives nonsense since update
Keywords:
Status: CLOSED DUPLICATE of bug 694407
Alias: None
Product: Fedora
Classification: Fedora
Component: nc
Version: 14
Hardware: i686
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Petr Šabata
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-04-12 16:09 UTC by udo
Modified: 2011-04-13 06:28 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-04-13 06:28:57 UTC
Type: ---


Attachments (Terms of Use)

Description udo 2011-04-12 16:09:29 UTC
Description of problem:
nc gives nonsense output since update

Version-Release number of selected component (if applicable):
nc-1.100-1.fc14.i686

How reproducible:
yum update

Steps to Reproduce:
1. have nc-1.84-23.fc14.i686 running well
2. yum update
3. see nc-1.100-1.fc14.i686 give the output below
  
Actual results:
See below.

Expected results:
Connections like nc 1.84 gave.

Additional info:
[root@epia 2]# nc localhost 22
nc: port number M鍿P鍿Z鍿: 22
[root@epia 2]# nc localhost 80
nc: port number My��Py��Zy��: 80
[root@epia 2]# nc localhost 0
nc: port number N�տQ�տ[�տ: 0
[root@epia 2]# nc localhost 
usage: nc [-46CDdhklnrStUuvz] [-I length] [-i interval] [-O length]
	  [-P proxy_username] [-p source_port] [-s source] [-T ToS]
	  [-V rtable] [-w timeout] [-X proxy_protocol]
	  [-x proxy_address[:port]] [destination] [port]
[root@epia 2]# nc localhost 139
nc: port number L���O���Y���: 139
[root@epia 2]# nc localhost 1024
nc: port number K���N���X���: 1024
[root@epia 2]# nc localhost 1
nc: port number N��Q��[��: 1
[root@epia 2]# nc localhost 2
nc: port number N)��Q)��[)��: 2
[root@epia 2]# nc localhost a
nc: port number N���Q���[���: a
[root@epia 2]# nc localhost as
nc: port number MiӿPiӿZiӿ: as

I can provide a strace.

Comment 1 Petr Šabata 2011-04-13 06:28:57 UTC
This was caused by inclusion of non-libbsd headers.
Please, test v100-2, which is available in Bodhi. You can find the links in the duplicate bug.

*** This bug has been marked as a duplicate of bug 694407 ***


Note You need to log in before you can comment on or make changes to this bug.