]> git.puffer.fish Git - mirror/frr.git/commit
tools: null check (Coverity 1399484) 3058/head
authorF. Aragon <paco@voltanet.io>
Thu, 20 Sep 2018 14:23:52 +0000 (16:23 +0200)
committerF. Aragon <paco@voltanet.io>
Thu, 20 Sep 2018 14:23:52 +0000 (16:23 +0200)
commit3b23c6c379c2b3a2f9fdbf3aec7cb5e0158c498d
tree2a9568644e4d6bb15d20f60bd3fc7f36a596063e
parentdc790ba83d9ff3b0fa31993bea7682e720f3023b
tools: null check (Coverity 1399484)

Fixed using XCALLOC(MTYPE_TMP, ...) instead of calloc(...) because of the
error handling (XCALLOC checks + log + abort through memory_oom())

Signed-off-by: F. Aragon <paco@voltanet.io>
tools/permutations.c