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

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: 20/Aug/16 06:18 PM
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

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

QA Status: Cannot be tested

 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   Change History   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.