apr-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 57498] New: segfault on apr_dbd_pgsql.c (apr_dbd_transaction_start, dbd_pgsql_start_transaction)
Date Mon, 26 Jan 2015 13:33:15 GMT

            Bug ID: 57498
           Summary: segfault on apr_dbd_pgsql.c
           Product: APR
           Version: 1.5.3
          Hardware: PC
                OS: Mac OS X 10.1
            Status: NEW
          Severity: normal
          Priority: P2
         Component: APR-util
          Assignee: bugs@apr.apache.org
          Reporter: carlosbar@gmail.com

Created attachment 32397
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=32397&action=edit
proposed fix on dbd_pgsql_start_transaction

apr_dbd_transaction_start, which leads to dbd_pgsql_start_transaction is
causing a segfault when a connection is broken.

(*trans)->handle is being used on a error condition, where (*trans) is NULL.

Please, see attached patch file with proposed fix.

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

View raw message