On Wed, Mar 19, 2008 at 04:34:11PM +0100, Lars Ellenberg wrote:
> in asn_realloc_rbuild_int,
> testvalue must be derived from the truncated value,
> not from the original input.
> otherwise there is a lot of possible input that can lead
> to "while (0 != -1) { realloc }"
>
> -- Lars Ellenberg

On Fri, Mar 21, 2008 at 01:38:49AM +0100, Thomas Anders wrote:
> Lars Ellenberg schrieb:
> > in asn_realloc_rbuild_int,
> > testvalue must be derived from the truncated value,
> > not from the original input.
> > otherwise there is a lot of possible input that can lead
> > to "while (0 != -1) { realloc }"

>
> Thanks for the patch! Please submit it to
> http://www.net-snmp.org/patches (with a note to the list) so it won't
> get lost.


done.
http://sourceforge.net/tracker/index...group_id=12694


--
: Lars Ellenberg Tel +43-1-8178292-55 :
: LINBIT Information Technologies GmbH Fax +43-1-8178292-82 :
: Vivenotgasse 48, A-1120 Vienna/Europe http://www.linbit.com :

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/...et-snmp-coders