View Issue Details

IDProjectCategoryView StatusLast Update
0004110Compliance Test Tool (CTT) Unified Architecture1 - Script Issuepublic2019-08-31 14:33
ReporterBernd Edlinger Assigned ToAlexander Allmendinger  
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionfixed 
PlatformPCOSWindowsOS Version8.1
Product Version1.03.340.378 
Target Version1.03Fixed in Version1.03.341.381 
Summary0004110: error in Security/Security Certificate Validation/initialize.js
Description

TypeError: Result of expression 'bestMatch' [undefined] is not an object.
function:
file: C:/temp/CTT_1.3.340.378/NanoServer/library/ClassBased/UaE.js
line: 98
if( args.MostSecure ) {
var bestMatch = matches[0];
for( var i=1; i<matches.length; i++ ) {
if( bestMatch.SecurityLevel < matches[i].SecurityLevel ) bestMatch = matches[i];
}
if (bestMatch.SecurityLevel === 0) bestMatch = null;

    return (bestMatch);
}

Need to check matches.length == 0 here.

TagsNo tags attached.
Files Affected

Activities

Bernd Edlinger

2017-12-22 11:47

reporter   ~0008808

happens if Server has no secure endpoint.

Alexander Allmendinger

2018-05-09 17:17

developer   ~0009038

Script is now checking the matches.length is 0 ahead of starting the for loop. Thanks Bernd.

Paul Hunkar

2019-08-31 14:33

administrator   ~0010851

reviewed in extra CMP call

Issue History

Date Modified Username Field Change
2017-12-22 11:45 Bernd Edlinger New Issue
2017-12-22 11:47 Bernd Edlinger Note Added: 0008808
2018-01-05 14:19 Paul Hunkar Assigned To => Alexander Allmendinger
2018-01-05 14:19 Paul Hunkar Status new => assigned
2018-01-05 14:19 Paul Hunkar Target Version => 1.03
2018-05-09 17:17 Alexander Allmendinger Note Added: 0009038
2018-05-09 17:17 Alexander Allmendinger Status assigned => resolved
2018-05-09 17:17 Alexander Allmendinger Fixed in Version => 1.03.341.381
2018-05-09 17:17 Alexander Allmendinger Resolution open => fixed
2019-01-28 14:10 Paul Hunkar Category Script Issue => 1 - Script Issue
2019-08-31 14:33 Paul Hunkar Status resolved => closed
2019-08-31 14:33 Paul Hunkar Note Added: 0010851