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 12:13:04 -0800
Patches item #1089970, was opened at 2004-12-22 20:17
Message generated for change (Comment added) made by freddy77
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=407808&aid=1089970&group_id=33106
Category: db-lib
Group: None
>Status: Closed
>Resolution: Fixed
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
----------------------------------------------------------------------
>Comment By: Frediano Ziglio (freddy77)
Date: 2004-12-22 21:13
Message:
Logged In: YES
user_id=75766
Fixed in both 0.63 and 0.64 (HEAD)
--
freddy77
----------------------------------------------------------------------
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.