From owner-cvs-sys Mon Mar 11 22:13:18 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id WAA03391 for cvs-sys-outgoing; Mon, 11 Mar 1996 22:13:18 -0800 (PST) Received: (from peter@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id WAA03366 Mon, 11 Mar 1996 22:13:10 -0800 (PST) Date: Mon, 11 Mar 1996 22:13:10 -0800 (PST) From: Peter Wemm Message-Id: <199603120613.WAA03366@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/ibcs2 imgact_coff.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk peter 96/03/11 22:13:10 Modified: sys/i386/ibcs2 imgact_coff.c Log: The same data segment length rounding problem that was in the elf loader is also present in the coff loader. It was possible to get one more page allocated than needed, which would cause brk()/malloc()/etc to fail with ENOMEM when it tried to re-allocate the space. Also, change a bcopy() from kernel to user space to a copyout(). Revision Changes Path 1.13 +4 -4 src/sys/i386/ibcs2/imgact_coff.c