|
From: <sv...@va...> - 2014-08-20 17:45:08
|
Author: sewardj
Date: Wed Aug 20 17:45:00 2014
New Revision: 14320
Log:
Kind of a follow-up to r14237.
pre_mem_read_sockaddr: in the case where the caller doesn't
specify any address family (that is, the family is AF_UNSPEC)
don't perform any further checks on the supplied |sa| address
block, since doing so merely gives rise to false uninitialised
value errors.
Modified:
trunk/coregrind/m_syswrap/syswrap-generic.c
Modified: trunk/coregrind/m_syswrap/syswrap-generic.c
==============================================================================
--- trunk/coregrind/m_syswrap/syswrap-generic.c (original)
+++ trunk/coregrind/m_syswrap/syswrap-generic.c Wed Aug 20 17:45:00 2014
@@ -1085,6 +1085,11 @@
break;
# endif
+# ifdef VKI_AF_UNSPEC
+ case VKI_AF_UNSPEC:
+ break;
+# endif
+
default:
/* No specific information about this address family.
Let's just check the full data following the family.
|