]> git.puffer.fish Git - matthieu/frr.git/commit
lib: call to 'calloc' has an allocation size of 0 bytes
authorDmytro Shytyi <dmytro.shytyi@6wind.com>
Wed, 29 Jan 2025 13:52:20 +0000 (14:52 +0100)
committerDmytro Shytyi <dmytro.shytyi@6wind.com>
Tue, 11 Mar 2025 10:16:01 +0000 (11:16 +0100)
commit83de17ca9b9718c95461b2d6794994a27964037f
treeb65c4d3170a80efc5a19d431a782f47bd6b9cc75
parent3f785c913d19175333e11af664a8dd558e47ba3e
lib: call to 'calloc' has an allocation size of 0 bytes

w->sects = calloc(sizeof(PyObject *), w->ehdr->e_shnum);

Signed-off-by: Dmytro Shytyi <dmytro.shytyi@6wind.com>
lib/elf_py.c