View Issue Details

IDProjectCategoryView StatusLast Update
0006163JEDI VCL00 JVCL Componentspublic2015-09-14 13:20
ReporterTorbinsAssigned ToAHUser 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product VersionDaily / GIT 
Target VersionFixed in Version3.48 
Summary0006163: Truncated bookmark in TJvMemoryData
DescriptionTJvMemoryData in JVCL 3.47 has such code for XE3:
procedure TJvMemoryData.InternalGotoBookmark(Bookmark: TJvBookmark);
//...
begin
  InternalGotoBookmarkData(TJvBookmarkData({$IFDEF RTL240_UP}PByte(@Bookmark[0]){$ELSE}Bookmark{$ENDIF RTL240_UP}^));

Here Bookmark gets truncated to one byte, while TBookmarkData is four
bytes long (integer). So fix will be:
  InternalGotoBookmarkData(TJvBookmarkData({$IFDEF RTL240_UP}PInteger(@Bookmark[0]){$ELSE}Bookmark{$ENDIF RTL240_UP}^));
TagsNo tags attached.

Activities

AHUser

2013-07-11 20:04

developer   ~0020569

Fixed in master.

Issue History

Date Modified Username Field Change
2013-07-10 11:00 Torbins New Issue
2013-07-11 20:04 AHUser Note Added: 0020569
2013-07-11 20:04 AHUser Status new => resolved
2013-07-11 20:04 AHUser Fixed in Version => Daily / SVN
2013-07-11 20:04 AHUser Resolution open => fixed
2013-07-11 20:04 AHUser Assigned To => AHUser
2015-09-14 13:20 obones Fixed in Version Daily / GIT => 3.48