diff options
author | Michael R Torres <mic.ric.tor@gmail.com> | 2020-02-20 20:29:00 -0800 |
---|---|---|
committer | Tobias Klauser <tklauser@distanz.ch> | 2020-02-21 11:51:30 +0100 |
commit | 21b9cc33337e904dee4cac87794291ca95a148dd (patch) | |
tree | 444535dff98491b3a53b04093e3d7c57029a1090 /staging/cli_eth.c | |
parent | 1fe3d20291b339101d8931a15816add1ea85beef (diff) |
mz: Zero memory allocated for new automops element
Prevent crashes when using mausezahn in interactive mode by using calloc
to zero the memory upon allocation.
Fixes #195
Signed-off-by: Michael R Torres <mic.ric.tor@gmail.com>
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'staging/cli_eth.c')
0 files changed, 0 insertions, 0 deletions