On Fri, Jan 27, 2012 at 12:26 PM, Simon Josefsson <[email protected]> wrote: > Fredrik Thulin <[email protected]> writes: > >>> The following working patch clearly shows the problem. >> ... >>> + f = NULL; >> >> Do you say that the patch *solves* the problem, or that it reproduces >> the problem reliably? > > Looking at the code, I think there is a double-fclose going on, and my > reading of the patch above, it would solve it.
You're right. It is even stated clearly in fclose(3). I'll commit the fix to upstream. Thanks for looking into this. /Fredrik -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

