diff options
author | Pierre Chifflier <chifflier@inl.fr> | 2008-12-01 13:41:54 +0100 |
---|---|---|
committer | Eric Leblond <eric@inl.fr> | 2008-12-09 00:19:04 +0100 |
commit | 2629f88687d88b66be29017c3b2731cd8c5be8b6 (patch) | |
tree | d0cd79a736563c99a5bedfbcd9e6c8265ec0e117 /input/packet/ulogd_inppkt_ULOG.c | |
parent | a45ad8e5b5fe4e9392f44dbcd398565e434c868e (diff) |
Fix light memory error in parse_mac2str
When len is 0 (for ex. when the input mac is NULL), parse_mac2str tries
to calloc a 0-bytes bloc, which leads to a conditional jump based
on uninitialized value (spotted by valgrind).
Signed-off-by: Pierre Chifflier <chifflier@inl.fr>
Signed-off-by: Eric Leblond <eric@inl.fr>
Diffstat (limited to 'input/packet/ulogd_inppkt_ULOG.c')
0 files changed, 0 insertions, 0 deletions