Patches item #620469, was opened at 2002-10-08 22:34
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=303152&aid=620469&group_id=3152

Category: modules
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Matthew Krenzer (krenzer)
Assigned to: Nobody/Anonymous (nobody)
Summary: Fix segfault on oracle errors

Initial Comment:
ora_tcl_command calls tcl_error_p which, if it finds
certain error conditions may close the database
connection.  If tcl_error_p returns that there was an
error ora_tcl_command will flush the handle before
returning.  Depending on the error that occured the
connection may be null and this is not checked for in
the flush handle routine.  This results in a segfault.

This patch simply checks to make sure that connection
is non-null before accessing its members in flush_handle.


----------------------------------------------------------------------

Comment By: Jeff Davis (jcdlondon)
Date: 2002-10-08 23:57

Message:
Logged In: YES
user_id=287865

I made the change and committed to CVS

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=303152&aid=620469&group_id=3152

Reply via email to