![]() [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> |
||
---|---|---|
.. | ||
ematch | ||
.gitignore | ||
basic.c | ||
cgroup.c | ||
ematch.c | ||
ematch_grammar.l | ||
ematch_syntax.y | ||
fw.c | ||
police.c | ||
u32.c |