View Issue Details

IDProjectCategoryView StatusLast Update
0009783CTT UA Binary2 - CTT Binarypublic2024-10-07 07:53
ReporterYannik Klaass Assigned ToYannik Klaass  
PrioritynormalSeveritycrashReproducibilityalways
Status resolvedResolutionfixed 
Summary0009783: CTT crashes when initializing a NodeId with NamespaceIndex > 255
Description

When initializing a NodeId with a NamespaceIndex > 255, the CTT will crash

Steps To Reproduce

This can be easily reproduced by executing the following script:

var nodeId = new UaNodeId();
nodeId.NamespaceIndex = 300;

TagsNo tags attached.
Files Affected

Activities

Yannik Klaass

2024-10-07 07:53

developer   ~0021841

  • Increasing the maximum NamespaceIndex from 255 to 65535 in CttNodeIdPrivate::IsValid(), as its value is a UInt16
  • Skip DebugBreak() calls if no Debug target is selected

Issue History

Date Modified Username Field Change
2024-08-16 12:17 Yannik Klaass New Issue
2024-08-16 12:17 Yannik Klaass Status new => assigned
2024-08-16 12:17 Yannik Klaass Assigned To => Yannik Klaass
2024-10-07 07:53 Yannik Klaass Status assigned => resolved
2024-10-07 07:53 Yannik Klaass Resolution open => fixed
2024-10-07 07:53 Yannik Klaass Note Added: 0021841