libnl/lib/route/cls
Nicolas PLANEL 592d665fbc cls: check data before memcpy() it
[thaller@redhat.com: I modified the condition "if (data && len)"
 in the original patch to just check "len > 0".
 Note that all call sites of meta_alloc() make sure to pass a
 valid data pointer with a non-zero length (anything else would
 be a bug). But indeed, calling memcpy with invalid src pointer
 is undefined behavior, even if len is zero.]

Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-08-27 13:22:22 +02:00
..
ematch cls: check data before memcpy() it 2014-08-27 13:22:22 +02:00
.gitignore Tons of ematch work 2010-10-29 00:20:42 +02:00
basic.c act: grab a reference when adding an action to a filter 2014-04-30 11:19:42 +02:00
cgroup.c Move private header files to <netlink-private/*> 2013-01-24 13:51:24 +01:00
ematch.c cls: fix array overrun in rtnl_ematch_opnd2txt() 2014-06-10 21:45:52 +02:00
ematch_grammar.l Move private header files to <netlink-private/*> 2013-01-24 13:51:24 +01:00
ematch_syntax.y Move private header files to <netlink-private/*> 2013-01-24 13:51:24 +01:00
fw.c Move private header files to <netlink-private/*> 2013-01-24 13:51:24 +01:00
police.c style: require comma after __ADD() macro 2014-07-27 10:57:31 +02:00
u32.c u32: prevent memcpy from NULL 2014-06-25 09:16:48 +02:00