Skip to content
Snippets Groups Projects
Commit 9dfaba21 authored by g0dil's avatar g0dil
Browse files

Update valgrind suppressions

parent 20631c0b
No related branches found
No related tags found
No related merge requests found
...@@ -47,6 +47,7 @@ prefix_ std::string senf::LLSocketAddress::interface() ...@@ -47,6 +47,7 @@ prefix_ std::string senf::LLSocketAddress::interface()
if (addr_.sll_ifindex == 0) if (addr_.sll_ifindex == 0)
return std::string(); return std::string();
char name[IFNAMSIZ]; char name[IFNAMSIZ];
::bzero(name, IFNAMSIZ);
if (! ::if_indextoname(addr_.sll_ifindex, name)) if (! ::if_indextoname(addr_.sll_ifindex, name))
throw AddressSyntaxException(); throw AddressSyntaxException();
return std::string(name); return std::string(name);
......
...@@ -101,3 +101,10 @@ ...@@ -101,3 +101,10 @@
Memcheck:Cond Memcheck:Cond
fun:inet_ntop fun:inet_ntop
} }
{
if_indextoname-suppression-1
Memcheck:Param
ioctl(SIOCGIFINDEX)
obj:/lib/ld-2.3.6.so
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment