freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
[freetds] [ freetds-Patches-1089970 ] single byte _bcp_read_hostfile leak
- From: "SourceForge.net" <noreply AT sourceforge.net>
- To: noreply AT sourceforge.net
- Cc:
- Subject: [freetds] [ freetds-Patches-1089970 ] single byte _bcp_read_hostfile leak
- Date: Wed, 22 Dec 2004 11:17:42 -0800
Patches item #1089970, was opened at 2004-12-22 14:17
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=407808&aid=1089970&group_id=33106
Category: db-lib
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Brad Rittenhouse (brittenh)
Assigned to: Nobody/Anonymous (nobody)
Summary: single byte _bcp_read_hostfile leak
Initial Comment:
The context for the leak is when collen is equal to 0
and data_is_null is equal to 1.
The allocation for coldata is done for a single byte
and does not get freed if you fall into both of the
following if statements:
if (hostcol->tab_column) {
if (data_is_null) {
...
The diff is against version 1.106 of src/dblib/bcp.c
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=407808&aid=1089970&group_id=33106
-
[freetds] [ freetds-Patches-1089970 ] single byte _bcp_read_hostfile leak,
SourceForge.net, 12/22/2004
- <Possible follow-up(s)>
- [freetds] [ freetds-Patches-1089970 ] single byte _bcp_read_hostfile leak, SourceForge.net, 12/22/2004
Archive powered by MHonArc 2.6.24.