Description of problem: with an existing leases file, dhclient always segfaults Version-Release number of selected component (if applicable):dhclient-4.0.0-3.fc9 How reproducible: run "ifup eth0", which runs e.g., dhclient -1 -q -lf /var/lib/dhclient/dhclient-eth0.leases -pf /var/run/dhclient-eth0.pid eth0 Steps to Reproduce: 1. 2. 3. Actual results: Program received signal SIGSEGV, Segmentation fault. 0x000000000041b832 in get_char (cfile=0x68ce40) at conflex.c:185 185 c = cfile->inbuf [cfile->bufix]; Expected results: "ifup eth0" would succeed Additional info: work-around: remove the leases file, or apply the attached patch.
Created attachment 291997 [details] since read returns ssize_t, use a temporary of that type
*** This bug has been marked as a duplicate of 428785 ***