Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Mar 2005 01:22:33 GMT
From:      Juli Mallett <jmallett@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 73495 for review
Message-ID:  <200503190122.j2J1MXHO059148@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=73495

Change 73495 by jmallett@jmallett_windward on 2005/03/19 01:22:25

	We're not using a loader yet.

Affected files ...

.. //depot/projects/mips/sys/kern/link_elf.c#13 edit

Differences ...

==== //depot/projects/mips/sys/kern/link_elf.c#13 (text+ko) ====

@@ -367,6 +367,8 @@
 	switch (dp->d_tag) {
 	case DT_HASH:
 	{
+	    if (ef->address == NULL)
+		    return (EINVAL);
 	    /* From src/libexec/rtld-elf/rtld.c */
 	    const Elf_Hashelt *hashtab = (const Elf_Hashelt *)
 		(ef->address + dp->d_un.d_ptr);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200503190122.j2J1MXHO059148>