Accepting request 34198 from net-snmp:factory

Copy from net-snmp:factory/net-snmp based on submit request 34198 from user leonardocf

OBS-URL: https://build.opensuse.org/request/show/34198
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/net-snmp?expand=0&rev=26
This commit is contained in:
OBS User autobuild 2010-03-07 09:58:47 +00:00 committed by Git OBS Bridge
parent 53683a189f
commit 4a3b2730ba
3 changed files with 7 additions and 2 deletions

View File

@ -32,7 +32,7 @@ Index: agent/mibgroup/ucd-snmp/pass.c
break;
}
- strncat(passthru->command, buf, sizeof(passthru->command));
+ strncat(passthru->command, buf, sizeof(passthru->command)-1);
+ strncat(passthru->command, buf, sizeof(passthru->command)-strlen(passthru->command)-1);
passthru->command[ sizeof(passthru->command)-1 ] = 0;
DEBUGMSGTL(("ucd-snmp/pass", "pass-running: %s",
passthru->command));

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Mar 5 17:33:34 UTC 2010 - lchiquitto@novell.com
- Fix strncat properly (from Andreas Jaeger)
-------------------------------------------------------------------
Mon Mar 1 20:45:50 UTC 2010 - aj@suse.de

View File

@ -20,7 +20,7 @@
Name: net-snmp
Version: 5.5
Release: 3
Release: 4
#
License: BSD3c(or similar) ; MIT License (or similar)
Group: Productivity/Networking/Other