freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
[freetds] [PATCH] uninitialized variable in src/tds/query.c:tds_put_data
- From: "Craig A. Berry" <craigberry AT mac.com>
- To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
- Subject: [freetds] [PATCH] uninitialized variable in src/tds/query.c:tds_put_data
- Date: Thu, 19 Mar 2009 08:09:27 -0500
There's a debug message here that's going to print garbage because it's using the value of an automatic variable that has not been initialized. The attached patch replaces that variable (colsize) with what I believe is the intended item (curcol->column_cur_size).
________________________________________
Craig A. Berry
mailto:craigberry AT mac.com
"... getting out of a sonnet is much more
difficult than getting in."
Brad Leithauser
Attachment:
tds_put_data.patch
Description: Binary data
-
[freetds] [PATCH] uninitialized variable in src/tds/query.c:tds_put_data,
Craig A. Berry, 03/19/2009
-
Re: [freetds] [PATCH] uninitialized variable in src/tds/query.c:tds_put_data,
James K. Lowden, 03/19/2009
- Re: [freetds] [PATCH] uninitialized variable in src/tds/query.c:tds_put_data, Frediano Ziglio, 03/20/2009
-
Re: [freetds] [PATCH] uninitialized variable in src/tds/query.c:tds_put_data,
James K. Lowden, 03/19/2009
Archive powered by MHonArc 2.6.24.