Bug 114793 - [PATCH] net-mgmt/nagios-plugins
Summary: [PATCH] net-mgmt/nagios-plugins
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Martin Matuska
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-21 17:00 UTC by Martin Matuska
Modified: 2007-07-23 23:51 UTC (History)
1 user (show)

See Also:


Attachments
file.diff (759 bytes, patch)
2007-07-21 17:00 UTC, Martin Matuska
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Matuska freebsd_committer freebsd_triage 2007-07-21 17:00:09 UTC
Private mail from Petr Lampa <lampa@fit.vutbr.cz>:

At line 92 nagions-1.4.9/lib/utils_base.c (checked in 1.4.9 and CVS):

	temp_thresholds = malloc(sizeof(temp_thresholds));
	
shoud read:

        temp_thresholds = malloc(sizeof(thresholds));
		
Manifested in FreeBSD 7.0, some plugins started core dumping (malloc(4) vs. 
malloc(8)). Patch is attached (it was also sent to nagios).

Regards,
Petr lampa

Maintainer please verify and/or approve.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2007-07-21 17:00:21 UTC
Responsible Changed
From-To: freebsd-ports-bugs->mm

Submitter has GNATS access
Comment 2 Edwin Groothuis freebsd_committer freebsd_triage 2007-07-21 17:00:41 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback
Comment 3 Jarrod Sayers 2007-07-22 04:30:37 UTC
Thanks Martin and Petr, patch approved though should be committed as  
files/patch-lib__utils_base.c to match naming scheme of existing  
patches.

Jarrod.
Comment 4 dfilter service freebsd_committer freebsd_triage 2007-07-23 23:30:50 UTC
mm          2007-07-23 22:30:42 UTC

  FreeBSD ports repository

  Modified files:
    net-mgmt/nagios-plugins Makefile 
  Added files:
    net-mgmt/nagios-plugins/files patch-lib__utils_base.c 
  Log:
  - add patch for 7-CURRENT by Petr Lampa <lampa@fit.vutbr.cz>
  
  PR:             ports/114793
  Approved by:    maintainer, garga (mentor)
  
  Revision  Changes    Path
  1.62      +1 -0      ports/net-mgmt/nagios-plugins/Makefile
  1.1       +11 -0     ports/net-mgmt/nagios-plugins/files/patch-lib__utils_base.c (new)
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 5 Martin Matuska freebsd_committer freebsd_triage 2007-07-23 23:50:19 UTC
State Changed
From-To: feedback->closed

Commited with minor changes, thanks!