Skip to Content.
Sympa Menu

freetds - Minor bug in dblib.c

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Brandon M. Reynolds" <breynolds AT comtime.com>
  • To: 'TDS Development Group' <freetds AT franklin.oit.unc.edu>
  • Subject: Minor bug in dblib.c
  • Date: Thu, 19 Oct 2000 09:29:47 -0400


dbclose() attempts to use the dbproc pointer after it has been freed.

--- freetds/src/dblib/dblib.c Wed Oct 18 22:35:34 2000
+++ freetds.10192000-2/src/dblib/dblib.c Thu Oct 19 09:27:46 2000
@@ -554,8 +554,8 @@
}
dbfreebuf(dbproc);

- free(dbproc);
tds_del_connection(g_tds_context, dbproc->tds_socket);
+ free(dbproc);
return SUCCEED;
}
void dbexit()

Brandon M. Reynolds Ph: (330) 644-3059
Systems Engineer Fax: (330) 644-8110
Commercial Timesharing Inc. Email: bmr AT comtime.com



  • Minor bug in dblib.c, Brandon M. Reynolds, 10/19/2000

Archive powered by MHonArc 2.6.24.

Top of Page