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:
parent
53683a189f
commit
4a3b2730ba
@ -32,7 +32,7 @@ Index: agent/mibgroup/ucd-snmp/pass.c
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
- strncat(passthru->command, buf, sizeof(passthru->command));
|
- 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;
|
passthru->command[ sizeof(passthru->command)-1 ] = 0;
|
||||||
DEBUGMSGTL(("ucd-snmp/pass", "pass-running: %s",
|
DEBUGMSGTL(("ucd-snmp/pass", "pass-running: %s",
|
||||||
passthru->command));
|
passthru->command));
|
||||||
|
@ -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
|
Mon Mar 1 20:45:50 UTC 2010 - aj@suse.de
|
||||||
|
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
|
|
||||||
Name: net-snmp
|
Name: net-snmp
|
||||||
Version: 5.5
|
Version: 5.5
|
||||||
Release: 3
|
Release: 4
|
||||||
#
|
#
|
||||||
License: BSD3c(or similar) ; MIT License (or similar)
|
License: BSD3c(or similar) ; MIT License (or similar)
|
||||||
Group: Productivity/Networking/Other
|
Group: Productivity/Networking/Other
|
||||||
|
Loading…
Reference in New Issue
Block a user