PERFORCE change 127653 for review

John Birrell jb at FreeBSD.org
Wed Oct 17 21:29:28 PDT 2007


http://perforce.freebsd.org/chv.cgi?CH=127653

Change 127653 by jb at 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);
 	}


More information about the p4-projects mailing list