Chris Abbey wrote: > Simple counting bug, caught by glibc's overflow detection. We originally > stumbled over this in 5.3.0.1, where I tested this fix, but the forward port > to > svn head was trivial, so I've not retested there. INET^_ADDRSTRLEN is only > long > enough for the address itself, the rest of the string needs to be accounted > for > seperately, that's 18 characters by my math, not 8. (I'm assuming 5 chars max > for port number.) This code would work if you have a short address obviously, > but when you have an address that uses most of the characters needed to > represent it, kaboom.
Thanks for the patch! Applied to all active lines in SVN Rev. 16668. +Thomas -- Thomas Anders (thomas.anders at blue-cable.de) ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
