Validation not detects one specific case of index corruption
------------------------------------------------------------

                 Key: CORE-3844
                 URL: http://tracker.firebirdsql.org/browse/CORE-3844
             Project: Firebird Core
          Issue Type: Bug
          Components: Engine
    Affects Versions: 2.0.7, 2.5.1, 2.1.4, 2.5.0, 2.0.6, 3.0 Initial, 2.1.3, 
2.1.2, 2.0.5, 2.1.1, 2.1.0
            Reporter: Vlad Khorsun


Below i consider a two index keys where one (shorter) key is a full prefix of 
another (longer) key, for example:
- 'aa' and 'aaa'
- '' and 'a'

The rule : 
- in ascending index short key is less then long key ('aa' < 'aaa', '' < 'a') 
- in descending index short key is greater then long key ('aaa' < 'aa', 'a' < 
'').

The validation code is not detect the cases when rule above is violated. 
For example, corruption at CORE-3839\CORE-3841 is not detected.


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

        

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to