Bug 209120 - nameif crashes due to buffer owerflow
Summary: nameif crashes due to buffer owerflow
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: net-tools
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Radek Vokál
QA Contact: Ben Levenson
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-10-03 12:27 UTC by Michal Marciniszyn
Modified: 2014-02-10 23:01 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2006-10-11 05:41:03 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Michal Marciniszyn 2006-10-03 12:27:40 UTC
Description of problem:
if interface name is exactly 16 characters long, the nameif program crashes due
to buffer owerflow

Version-Release number of selected component (if applicable):
net-tools-1.60-62
net-tools-1.60-73

How reproducible:
always

Steps to Reproduce:
1.modprobe dummy
2. ifconfig -a to get MAC_ADDR of the dummy interface
3. echo "dummy01234567890 MAC_ADDR" >>/etc/mactab
4. nameif
  
Actual results:
buffer owerflow


Expected results:
interface name change or error that name is too long

Additional info:
nameif returns weird messages when name is too long...

Comment 1 Radek Vokál 2006-10-11 05:41:03 UTC
Fixed in rawhide


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