PERFORCE change 102559 for review

Paolo Pisati piso at FreeBSD.org
Thu Jul 27 14:19:09 UTC 2006


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

Change 102559 by piso at piso_newluxor on 2006/07/27 14:18:18

	Check for end of list.

Affected files ...

.. //depot/projects/soc2005/libalias/sys/netinet/libalias/alias_mod.c#16 edit

Differences ...

==== //depot/projects/soc2005/libalias/sys/netinet/libalias/alias_mod.c#16 (text+ko) ====

@@ -300,6 +300,8 @@
 	struct dll *t;
 
 	t = SLIST_FIRST(&dll_chain);
+	if (t == NULL)
+		return (NULL);
 	SLIST_REMOVE_HEAD(&dll_chain, next);
 	return (t);
 }


More information about the p4-projects mailing list