Date: Sat, 29 Mar 2008 03:48:06 +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/gnu/usr.bin/gdb/kgdb kld.c Message-ID: <200803290348.m2T3m6XV072993@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
jhb 2008-03-29 03:48:06 UTC FreeBSD src repository Modified files: gnu/usr.bin/gdb/kgdb kld.c Log: Initialize the head pointer in kld_current_sos() to NULL to avoid returning a junk pointer and possibly causing a seg fault if we don't have any non-kernel klds (or are unable to walk the list due to core / kernel mismatch). MFC after: 1 week Revision Changes Path 1.7 +1 -0 src/gnu/usr.bin/gdb/kgdb/kld.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200803290348.m2T3m6XV072993>