Issue Details (XML | Word | Printable)

Key: CORE-2550
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Alexander Peshkov
Reporter: Alexander Peshkov
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Firebird Core

Bus error when working with DB_KEY on bigendian machines

Created: 08/Jul/09 07:15 AM   Updated: 12/Nov/09 01:46 PM
Return to search
Component/s: Engine
Affects Version/s: 2.1.2, 2.5 Beta 1
Fix Version/s: 2.5 Beta 2, 2.1.3

Time Tracking:
Not Specified

Environment: SPARC Solaris (looks like can affect any bigendian)

Planning Status: Unspecified


 Description  « Hide
When working with DB_KEY in stored procedure, alignment error takes place. Tjhis happens due to badly aligned data in descriptor, storing DB_KEY as text, and direct reintepret_cast<>, applied to it in evl.cpp:

RecordNumber::Packed* numbers = reinterpret_cast<RecordNumber::Packed*>(desc->dsc_address);

 All   Comments   Work Log   Change History   Version Control      Sort Order: Ascending order - Click to sort in descending order
The cvs commits can not be displayed for repository Firebird at the moment since the log has not yet been parsed. The log will be parsed the next time the VcsService runs. If you have administrators privileges you can hasten the next time the service will run in the service section of the Administration pages.