Date: Sun, 22 Jun 2014 19:58:57 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 191285] New: lang/expect segfault in exp_spawnv Message-ID: <bug-191285-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
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@FreeBSD.org Reporter: kreuter@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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-191285-13>