Bug 710464 - Possible use of uninitialized values
Summary: Possible use of uninitialized values
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: nc
Version: rawhide
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Petr Šabata
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-06-03 13:25 UTC by Petr Šabata
Modified: 2011-06-03 14:01 UTC (History)
2 users (show)

Fixed In Version: nc-1.100-3.fc16
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-06-03 14:01:29 UTC
Type: ---


Attachments (Terms of Use)

Description Petr Šabata 2011-06-03 13:25:05 UTC
Description of problem:
nc might use uninitialized values since 1.84-23 when the '-r' flag is used and the 'comma feature' isn't used.

Version-Release number of selected component (if applicable):
nc-1.84-23+

How reproducible:
Always.

Steps to Reproduce:
1. nc localhost 22-25 -r
  
Actual results:
nc uses uninitialized 'hi' and 'lo' variables.

Expected results:
The above shouldn't happen.

Additional info:
This is Fedora specific.

Comment 1 Petr Šabata 2011-06-03 14:01:29 UTC
Correction: This happens when a range isn't used.


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