ltrace crashes with memory corruption due to double free()
Issue
- On executing the below ksh script under ltrace on 32bit RHEL5, ltrace crashes with memory corruption due to double free().
#!/bin/ksh
echo "Before processing a subshell"
NUMFILES=$(ls | wc -l)
echo "After processing a subshell"
Environment
- Red Hat Enterprise Linux 5
- ltrace-0.5-13.45svn.el5_7.12
- ksh-20100621-5.el5_8.1
- glibc-2.5-81.el5_8.7
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.