apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bojan Smojver <bo...@rexursive.com>
Subject FreeTDS driver segfaults
Date Wed, 11 Feb 2009 06:24:15 GMT
If user (in this case me :-), does not specify all required parameters
to FreeTDS connection (such as server), we may segfault. We should
handle this more gracefully, I think.

Also, I don't think we should be printing anything out to stderr
directly from the driver.

Patch attached.

PS. There is another fprintf() to stderr in the driver, which I think
should also be removed. It's in the compilation of that regex. If we
must have the regex in order to function, then we should return NULL on
open_ex() or something and set the error accordingly.


View raw message