|
From: | Paul Eggert |
Subject: | Re: [bug-gnulib] Re: iconv made easy |
Date: | Wed, 15 Dec 2004 17:11:13 -0800 |
User-agent: | Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux) |
Simon Josefsson <address@hidden> writes: > + outbuf_size *= 2; > + ; > + if (newdest == NULL) My only quick thought is that this should be: outbuf_size *= 2; if (! (outbuf_size && (newdest = realloc (dest, outbuf_size)))) so that you fail instead of looping when there's a size overflow.
[Prev in Thread] | Current Thread | [Next in Thread] |