apr-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 56330] APR_DBD_MYSQL.c error
Date Tue, 16 Sep 2014 11:47:57 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=56330

Jeff Trawick <trawick@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #1 from Jeff Trawick <trawick@apache.org> ---
Fixed in apr trunk in r1625247, and in apr-util 1.5.x branch in r1625249.

The check for trans==NULL is retained, and the unprotected code is moved under
that check.

This function is also called from a cleanup established in
apr_dbd_transaction_start() as well as from a direct call from the application
to apr_dbd_transaction_end().  trans should never be NULL, but could in the
case of an errant application.  While APR generally does not protect against
bad parameters from the application, most of the DBD drivers have this check
for trans != NULL in the transaction-end support, so I did not remove it from
the MySQL driver.

Thanks for your report!

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@apr.apache.org
For additional commands, e-mail: bugs-help@apr.apache.org


Mime
View raw message