View Issue Details

IDProjectCategoryView StatusLast Update
0007507Compliance Test Tool (CTT) Unified Architecture1 - Script Issuepublic2022-01-06 18:18
ReporterAlexander Allmendinger Assigned ToAlexander Allmendinger  
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionfixed 
Product Version1.03.341.400 
Fixed in Version1.03.341.401 
Summary0007507: Attribute Read / 036: Wrong calculation of ByteString length and IndexRange
Description

In Attribute Read -> 036.js line 50, the length of a ByteString is determined by getting the length of the Hex-String divided by 2, as 2 digits are equivalent to one byte. This leads to a wrong returned size if the first two digits of the ByteString, which do not represent a byte ("0x") are not substracted beforehand.
Furthermore the script was incorrectly retrieving the range of the last 'numberOfValidItems' items of the ByteString in line 78.

TagsNo tags attached.
Files Affected

Activities

Alexander Allmendinger

2021-12-30 17:26

developer   ~0015638

Fixed as described

Paul Hunkar

2021-12-30 17:27

administrator   ~0015639

reviewed issue and fix in CMP Call, agreed to close issue

Issue History

Date Modified Username Field Change
2021-12-30 17:25 Alexander Allmendinger New Issue
2021-12-30 17:26 Paul Hunkar Assigned To => Alexander Allmendinger
2021-12-30 17:26 Paul Hunkar Status new => assigned
2021-12-30 17:26 Alexander Allmendinger Status assigned => resolved
2021-12-30 17:26 Alexander Allmendinger Resolution open => fixed
2021-12-30 17:26 Alexander Allmendinger Fixed in Version => 1.03.341.401
2021-12-30 17:26 Alexander Allmendinger Note Added: 0015638
2021-12-30 17:27 Paul Hunkar Status resolved => closed
2021-12-30 17:27 Paul Hunkar Note Added: 0015639