commit | 02d67c51765dfbd5893087da63744c864c7cc9e0 | [log] [tgz] |
---|---|---|
author | Arnaldo Carvalho de Melo <acme@redhat.com> | Mon Oct 24 11:25:44 2022 -0300 |
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | Mon Oct 24 11:53:30 2022 -0300 |
tree | 8345d7b1ffe2e43cf75a3b0d8d17247387e8adb2 | |
parent | cd4d2d251e9a7f982be660f62ff9833506dfba10 [diff] |
pfunct: Use zalloc() to make the code more robust Recently we had a problem where it was assumed that a field was initialized to zeros but the constructor was using malloc(), check all use and switch the ones allocating structs to zalloc() to prevent such problems if we add extra fields to those structs. Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>