mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-10-14 18:41:59 +08:00
NETSTAT(1): Avoid use of uninitialized memory
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user