Date: Fri, 24 Jun 2005 17:41:28 +0000 (UTC) From: John Baldwin <jhb@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/amd64/linux32 linux32_machdep.c src/sys/compat/freebsd32 freebsd32_misc.c Message-ID: <200506241741.j5OHfSDp068880@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
jhb 2005-06-24 17:41:28 UTC
FreeBSD src repository
Modified files:
sys/amd64/linux32 linux32_machdep.c
sys/compat/freebsd32 freebsd32_misc.c
Log:
Correct the amount of data to allocate in these local copies of
exec_copyin_strings() to catch up to rev 1.266 of kern_exec.c. This fixes
panics on amd64 with compat binaries since exec_free_args() was freeing
more memory than these functions were allocating and the mismatch could
cause memory to be freed out from under other concurrent execs.
Approved by: re (scottl)
Revision Changes Path
1.10 +2 -1 src/sys/amd64/linux32/linux32_machdep.c
1.36 +2 -1 src/sys/compat/freebsd32/freebsd32_misc.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200506241741.j5OHfSDp068880>
