Description of problem: Running grep under ElectricFence can show a zero-byte malloc. Version-Release number of selected component (if applicable): 2.5.1-24.1 How reproducible: 100% Steps to Reproduce: 1. Install ElectricFence 2. Save attachment as "file" 3. cat file | ef grep -v UND Actual results: ElectricFence Aborting: Allocating 0 bytes, probably a bug. /usr/bin/ef: line 20: 9932 Illegal instruction ( export LD_PRELOAD=libefence.so.0.0; exec $* ) Expected results: Doesn't abort. Additional info:
Created attachment 108886 [details] file
grep-2.5.1-24.3 does not exhibit the problem.
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on the solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2005-449.html