NETSTAT(1): Avoid use of uninitialized memory

This commit is contained in:
Sebastian Huber
2015-11-18 09:47:10 +01:00
parent cf9836e322
commit 1061324396
4 changed files with 45 additions and 1 deletions

View File

@@ -387,6 +387,9 @@ int rtems_bsd_command_netstat(int argc, char *argv[])
rtems_bsd_program_lock();
nlistf = NULL;
memf = NULL;
Aflag = 0;
aflag = 0;
Bflag = 0;