Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Oct 2007 04:29:27 GMT
From:      John Birrell <jb@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 127653 for review
Message-ID:  <200710180429.l9I4TRtS093797@repoman.freebsd.org>

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

Change 127653 by jb@jb_freebsd1 on 2007/10/18 04:28:49

	We need to be able to handle sections with zero-length
	data.

Affected files ...

.. //depot/projects/dtrace/src/lib/libelf/libelf_xlate.c#6 edit

Differences ...

==== //depot/projects/dtrace/src/lib/libelf/libelf_xlate.c#6 (text+ko) ====

@@ -68,8 +68,7 @@
 		return (NULL);
 	}
 
-	if  (src->d_buf == NULL || dst->d_buf == NULL ||
-	    src->d_size == 0) {
+	if  (src->d_buf == NULL || dst->d_buf == NULL) {
 		LIBELF_SET_ERROR(DATA, 0);
 		return (NULL);
 	}



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