Skip to Content.
Sympa Menu

freetds - Re: [freetds] [quetzal@zone3000.net: Unstable behavior of the system with tds version = 4.2 (maybe a kernel bug?)]

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "James K. Lowden" <jklowden AT freetds.org>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] [quetzal AT zone3000.net: Unstable behavior of the system with tds version = 4.2 (maybe a kernel bug?)]
  • Date: Tue, 8 May 2007 19:57:14 -0400

Nikolay Pavlov wrote:
> cs.c:358:cs_convert() srctype = 127 (8) desttype = 47 (9)
> cs.c:520:cs_convert() calling tds_convert
> cs.c:523:cs_convert() tds_convert returned 9
> cs.c:654:cs_convert() FMT_NULLTERM
> cs.c:656:not enough room for data + a null terminator - error
> cs.c:706:cs_convert() returning 0
> ct.c:1729:cs_convert-result = 1
> ct.c:1732:
> convert failed for 20


I don't know what's eating your CPU, but you have an error: the caller is
not providing sufficient buffer space to convert an 8-byte integer to a
character. FreeTDS apparently wants 9 bytes and is given only 8.

Perhaps the caller is also failing to handle the error correctly?

--jkl




Archive powered by MHonArc 2.6.24.

Top of Page