Skip to Content.
Sympa Menu

freetds - ct_cancel segfault

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • 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

Archive powered by MHonArc 2.6.24.

Top of Page