Bug 209120

Summary: nameif crashes due to buffer owerflow
Product: [Fedora] Fedora Reporter: Michal Marciniszyn <mmarcini>
Component: net-toolsAssignee: Radek Vokál <rvokal>
Status: CLOSED RAWHIDE QA Contact: Ben Levenson <benl>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: tvujec
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-10-11 05:41:03 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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