freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: Frediano Ziglio <freddyz77 AT tin.it>
- To: TDS Development Group <freetds AT franklin.oit.unc.edu>
- Subject: Re: Crash in tsql
- Date: 14 Aug 2002 16:31:56 +0200
...omissis...
>
> 3. Current code also reintroduces the possibility of iconv_open()
> without a matching iconv_close() which I had removed. (If the
> first iconv_open succeeds and the second fails. use_iconv is
> only set if BOTH succeed, but tds_iconv_close is only called
> if use_iconv is set. Another example where its better to call
> tds_iconv_close and let it figure out the details :)
>
> Cheers,
>
> David
>
Note also that TDSICONVINFO is initialize with a memset(..,0,..).
But iconv_t is -1 if uninitialized leading to unpredictable results (if
closed before open, like charset not defined).
freddy77
-
Re: Crash in tsql
, (continued)
- Re: Crash in tsql, Brian Bruns, 08/12/2002
- Re: Crash in tsql, ZIGLIO Frediano, 08/12/2002
- Re: Crash in tsql, Coleman, Dave, 08/13/2002
- Re: Crash in tsql, Lowden, James K, 08/13/2002
- Re: Crash in tsql, Brian Bruns, 08/13/2002
- Re: Crash in tsql, Lowden, James K, 08/13/2002
- Re: Crash in tsql, Varley, David(CBorn at Alcoa), 08/13/2002
- Re: Crash in tsql, Varley, David(CBorn at Alcoa), 08/14/2002
- Re: Crash in tsql, Brian Bruns, 08/14/2002
- Re: Crash in tsql, Varley, David(CBorn at Alcoa), 08/14/2002
- Re: Crash in tsql, Frediano Ziglio, 08/14/2002
- Re: Crash in tsql, Brian Bruns, 08/15/2002
Archive powered by MHonArc 2.6.24.