Replication plugin can crash engine returning nullptr from startTransaction() 
method
------------------------------------------------------------------------------------

                 Key: CORE-6539
                 URL: http://tracker.firebirdsql.org/browse/CORE-6539
             Project: Firebird Core
          Issue Type: Bug
          Components: Engine
    Affects Versions: 4.0 RC 1
            Reporter: Dimitry Sibiryakov


If a plugin return nullptr from startTransaction() and no error in status (for 
example it decided that this transaction must not be replicated for any valid 
reason) Firebird engine will crash trying to call 
transaction->tra_replicator->startSavepoint().

IMHO such situation must be handled gracefully by disabling replication of this 
transaction.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://tracker.firebirdsql.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to