Firebird 3.0.2 allows any protocol version >= 10 to connect, including 
interbase version 14
-------------------------------------------------------------------------------------------

                 Key: CORE-5686
                 URL: http://tracker.firebirdsql.org/browse/CORE-5686
             Project: Firebird Core
          Issue Type: Bug
    Affects Versions: 4.0 Alpha 1, 3.0.2, 4.0 Beta 1
            Reporter: Mark Rotteveel


The following commit in Firebird 3.0.2 allows any protocol >= 10 to connect, 
including interbase protocol 14 (which is definitely not compatible): 
https://github.com/FirebirdSQL/firebird/commit/2fdb281759299f24d47349246f3c800ec78971cc

Specifically in src/remote/server/server.cpp accept_connection.

if ((protocol->p_cnct_version >= PROTOCOL_VERSION10 &&
     protocol->p_cnct_version <= PROTOCOL_VERSION15) &&

should instead be:

if ((protocol->p_cnct_version == PROTOCOL_VERSION10 ||
     protocol->p_cnct_version => PROTOCOL_VERSION11 &&
     protocol->p_cnct_version <= PROTOCOL_VERSION15) &&

(and for Firebird 4: PROTOCOL_VERSION16 instead of 15)

See also firebird-support thread "Firebird 3.0.3 no longer compatible with 
InterBase 7.5.1 clients"



-- 
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

        

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to