Skip to Content.
Sympa Menu

freetds - [freetds] [PATCH] uninitialized variable in src/tds/query.c:tds_put_data

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • 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




Archive powered by MHonArc 2.6.24.

Top of Page