summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPierre Chifflier <chifflier@inl.fr>2008-12-01 13:41:54 +0100
committerEric Leblond <eric@inl.fr>2008-12-09 00:19:04 +0100
commit2629f88687d88b66be29017c3b2731cd8c5be8b6 (patch)
treed0cd79a736563c99a5bedfbcd9e6c8265ec0e117 /src
parenta45ad8e5b5fe4e9392f44dbcd398565e434c868e (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 'src')
0 files changed, 0 insertions, 0 deletions