ct_cancel segfault

Brian Bruns camber at umcc.ais.org
Fri Dec 17 08:23:14 EST 1999


This is in CVS. Thanks! 

Also checked in is the start of output param support.  It's not complere
yet, so be on the lookout for strange behvaiour.

Brian

On Fri, 17 Dec 1999 richard at iguana.co.nz wrote:

> 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)
> 
> 
> ---
> You are currently subscribed to freetds as: camber at ais.org
> To unsubscribe, forward this message to $subst('Email.Unsub')
> 
> 




More information about the FreeTDS mailing list