SHA256
1
0
forked from pool/openscap
openscap/fix-return.patch

13 lines
479 B
Diff

Index: openscap-1.0.2/src/OVAL/results/oval_cmp_ip_address.c
===================================================================
--- openscap-1.0.2.orig/src/OVAL/results/oval_cmp_ip_address.c
+++ openscap-1.0.2/src/OVAL/results/oval_cmp_ip_address.c
@@ -58,6 +58,7 @@ static inline int ipaddr_cmp(int af, con
return memcmp(addr1, addr2, sizeof(struct in6_addr));
assert(false);
+ return 42;
}
static inline void ipaddr_mask(int af, const void *ip_addr, uint32_t mask)