[Nagiosplug-devel] [ nagiosplug-Patches-900091 ] disk_check -x -X bag with not initialized variables
SourceForge.net
noreply at sourceforge.net
Thu Feb 19 00:13:01 CET 2004
Patches item #900091, was opened at 2004-02-19 13:05
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397599&aid=900091&group_id=29880
Category: Bugfix
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Michael Musikhin (mmusikhin)
Assigned to: Nobody/Anonymous (nobody)
Summary: disk_check -x -X bag with not initialized variables
Initial Comment:
--- check_disk.c.orig Thu Aug 28 09:22:01 2003
+++ check_disk.c Thu Feb 19 11:57:33 2004
@@ -393,6 +403,10 @@
se = (struct name_list *)
malloc (sizeof (struct name_list));
se->name = optarg;
se->name_next = NULL;
+ se->w_df = 0;
+ se->c_df = 0;
+ se->w_dfp = -1;
+ se->c_dfp = -1;
*dptail = se;
dptail = &se->name_next;
break;
@@ -400,6 +414,10 @@
se = (struct name_list *)
malloc (sizeof (struct name_list));
se->name = optarg;
se->name_next = NULL;
+ se->w_df = 0;
+ se->c_df = 0;
+ se->w_dfp = -1;
+ se->c_dfp = -1;
*fstail = se;
fstail = &se->name_next;
break;
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397599&aid=900091&group_id=29880
More information about the Devel
mailing list