Bug 191215

Summary: Busybox: glibc::free() detected invalid pointer...
Product: Red Hat Enterprise Linux 4 Reporter: Randy Zagar <zagar>
Component: busyboxAssignee: Ivana Varekova <varekova>
Status: CLOSED INSUFFICIENT_DATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 4.0   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-11-30 13:22:13 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 Randy Zagar 2006-05-09 19:50:03 UTC
Description of problem:
busybox egrep function tries to free invalid pointer

Version-Release number of selected component (if applicable):
busybox-1.00.rc1-5

How reproducible:
Always

Steps to Reproduce:
cat - > /tmp/regexp.partitions <<EOF
[hs]d[a-z]( |$)
cciss/c[0-9]d[0-9]( |$)
EOF

DISK="`busybox egrep -f /tmp/regexp.partitions /proc/partitions | \
           awk 'NR==1 {print $4}'`"

echo ${DISK}
  
Actual results:
*** glibc detected *** free(): invalid pointer: 0xbffc7b6b ***

Expected results:
hdc

Additional info:
This problem does not exist on FC4 systems with busybox-1.00-5.fc4.  Also, this
bug affects the network install "boot.iso" included with RHEL-4.U3-i386.

Comment 1 Ivana Varekova 2006-05-12 14:12:05 UTC
This problem is fixed in the version which is on 
http://people.redhat.com/varekova/busybox-1.00.rc1-5.test.i386.rpm .
Could you please test this version.