Date: Mon, 8 Mar 1999 02:32:41 -0800 (PST) From: "Daniel C. Sobral" <dcs@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/boot/common commands.c interp.c interp_parse.c module.c Message-ID: <199903081032.CAA56458@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
dcs 1999/03/08 02:32:41 PST
Modified files:
sys/boot/common commands.c interp.c interp_parse.c
module.c
Log:
Fix a number of memory leaks and other memory-related disorders.
Also, unbreak the breakage introduced at the last revision of module.c.
This changes the semantics of mod_searchfile() (and mod_searchmodule())
to make the caller's responsibility freeing the buffer returned. This
is different from other functions in loader's code, and was done as a
fix for kern/9631. If someone wants to revert this to the original
behavior, don't forget to fix kern/9631 in another way.
This should also fix bin/10462, which was introduced as a result of the
first try at kern/9631 (module.c last revision).
PR: bin/10462
Submitted by: Takanori Saneto <sanewo@ba2.so-net.ne.jp>
Revision Changes Path
1.11 +7 -1 src/sys/boot/common/commands.c
1.17 +4 -3 src/sys/boot/common/interp.c
1.7 +2 -1 src/sys/boot/common/interp_parse.c
1.9 +6 -4 src/sys/boot/common/module.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199903081032.CAA56458>
