[
https://issues.apache.org/jira/browse/TS-4078?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Brian Geffon resolved TS-4078.
------------------------------
Resolution: Fixed
This was fixed by [~jamespeach] in c9b2241c4faf4dbb2a706cf7d7e169252b14a3ed
> CID 1343334: Uninitialized members in Rollback.cc
> --------------------------------------------------
>
> Key: TS-4078
> URL: https://issues.apache.org/jira/browse/TS-4078
> Project: Traffic Server
> Issue Type: Bug
> Components: Management API
> Reporter: Leif Hedstrom
> Assignee: Brian Geffon
> Fix For: 6.1.0
>
>
> {code}
> ** CID 1343334: Uninitialized members (UNINIT_CTOR)
> /mgmt/Rollback.cc: 101 in Rollback::Rollback(const char *, bool, Rollback*,
> unsigned int)()
> ________________________________________________________________________________________________________
> *** CID 1343334: Uninitialized members (UNINIT_CTOR)
> /mgmt/Rollback.cc: 101 in Rollback::Rollback(const char *, bool, Rollback*,
> unsigned int)()
> 95
> 96 // If we are not doing backups, bail early.
> 97 if ((numberBackups <= 0) || (flags & CONFIG_FLAG_UNVERSIONED)) {
> 98 currentVersion = 0;
> 99 setLastModifiedTime();
> 100 numberBackups = 0;
> CID 1343334: Uninitialized members (UNINIT_CTOR)
> Non-static class member "numVersions" is not initialized in this
> constructor nor in any functions that it calls.
> 101 return;
> 102 }
> 103
> 104 currentVersion = 0; // Prevent UMR with stat file
> 105 highestSeen = findVersions_ml(versionQ);
> 106
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)