Issue Details (XML | Word | Printable)

Key: CORE-1499
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

Wrong alignment of data, used in INTL converters

Created: 05/Oct/07 07:53 AM   Updated: 26/Dec/07 11:15 AM
Component/s: Build Issues / Porting, Charsets/Collation
Affects Version/s: 2.0.0, 2.0.1, 2.1 Alpha 1, 2.1 Beta 1, 2.0.2, 2.0.3, 2.1 Beta 2
Fix Version/s: 2.1 Beta 2, 2.0.4

Time Tracking:
Not Specified

Environment: Any CPU, requiring exact data alignment (sparc, parisc, etc.)


 Description  « Hide
All UNTL interface is UCHAR* - oriented. It makes it possible to transfer to INTL data from SQL_TEXT descriptors. That data is not guaranteed to be aligned, but inside INTL often casted to USHORT*/ULONG*. On RISC processors this causes bus error when trying to access invalid aligned data.

 All   Comments   Work Log   Change History   Version Control   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Alexander Peshkov added a comment - 30/Oct/07 09:05 AM
Sorry, but right now I'm in the process of backporting fixes to 2.0. It's planned to be used on RISC machines and backport is required. Therefore I did not close it.

Dmitry Yemanov added a comment - 30/Oct/07 09:12 AM
Reopened for backporting into v2.0.4.