[freetds] [PATCH] uninitialized variable in src/tds/query.c:tds_put_data
Craig A. Berry
craigberry at mac.com
Thu Mar 19 09:09:27 EDT 2009
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tds_put_data.patch
Type: application/octet-stream
Size: 484 bytes
Desc: not available
Url : http://lists.ibiblio.org/pipermail/freetds/attachments/20090319/84c4492f/attachment.obj
More information about the FreeTDS
mailing list