[Bug 191285] New: lang/expect segfault in exp_spawnv
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sun Jun 22 19:58:57 UTC 2014
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=191285
Bug ID: 191285
Summary: lang/expect segfault in exp_spawnv
Product: Ports Tree
Version: Latest
Hardware: Any
OS: Any
Status: Needs Triage
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: freebsd-ports-bugs at FreeBSD.org
Reporter: kreuter at progn.net
Created attachment 144040
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=144040&action=edit
Replace some ckalloc/ckfree calls in exp_clib.c with malloc/free.
Hello,
lang/expect 5.45_1 segfaults when C programs call exp_spawnv. This has been
reported and fixed in Debian for a while:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=588817
Attached is the patch from Debian; it suffices to correct the problem. The
Debian diff also includes a couple of sample programs that reproduce the
segfault; leaving those out here, but they can be found, along with other
patches, here:
http://ftp.de.debian.org/debian/pool/main/e/expect/expect_5.45-2.diff.gz
Thanks,
Richard M Kreuter
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list