Vector data will be lost if reallocation fails, leading to undefined behaviour. Additionally, size_t should be used to provide the indices and sizes of vector elements. If no configuration file or an invalid parameter is provided, the daemon should exit with a failure status. Donald Yandt (3): conntrackd: prevent memory loss if reallocation fails conntrackd: use size_t for element indices conntrackd: exit with failure status src/main.c | 5 ++--- src/vector.c | 9 ++++----- 2 files changed, 6 insertions(+), 8 deletions(-) -- 2.44.0