freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: richard AT iguana.co.nz
- To: TDS Development Group <freetds AT franklin.oit.unc.edu>
- Subject: ct_cancel segfault
- Date: Fri, 17 Dec 1999 17:00:59 +1300 (NZDT)
php4 calls ct_cancel with a NULL connection and a valid cmd structure.
Freetds does not validate the connection pointer and segfaults. Simple
fix, on first line of ct_cancel add:
if (!conn) { conn = cmd->con; }
Richard.
(Fixes a LOT of problems with php4)
-
ct_cancel segfault,
richard, 12/16/1999
- <Possible follow-up(s)>
- Re: ct_cancel segfault, Brian Bruns, 12/17/1999
Archive powered by MHonArc 2.6.24.