@@ -2115,11 +2115,11 @@ Memory allocation size is negative.Negative allocation size has no specified beh
21152115 </rule >
21162116 <rule >
21172117 <key >noConstructor</key >
2118- <name >The class 'classname' does not have a constructor although it has private member variables</name >
2118+ <name >The class 'classname' does not declare a constructor although it has private member variables which likely require initialization </name >
21192119 <description >
21202120 <![CDATA[
21212121 <p>
2122- The class 'classname' does not have a constructor although it has
2122+ The class 'classname' does not declare a constructor although it has
21232123private member variables. Member variables of builtin types are left
21242124uninitialized when the class is instantiated. That may cause bugs or
21252125undefined behavior.
@@ -8129,12 +8129,12 @@ Same iterator is used with different containers 'container1' and
81298129 </rule >
81308130 <rule >
81318131 <key >iterators3</key >
8132- <name >Same iterator is used with containers 'container' that are defined in different scopes</name >
8132+ <name >Same iterator is used with containers 'container' that are temporaries or defined in different scopes</name >
81338133 <description >
81348134 <![CDATA[
81358135<p>
8136- Same iterator is used with containers 'container' that are defined in
8137- different scopes.
8136+ Same iterator is used with containers 'container' that are temporaries
8137+ or defined in different scopes.
81388138</p>
81398139<h2>References</h2>
81408140<p><a href="https://cwe.mitre.org/data/definitions/664.html" target="_blank">CWE-664: Improper Control of a Resource Through its Lifetime</a></p>
@@ -8504,11 +8504,11 @@ Parameter 'x' can be declared with const
85048504 </rule >
85058505 <rule >
85068506 <key >danglingTemporaryLifetime</key >
8507- <name >Using object to temporary</name >
8507+ <name >Using object that is a temporary</name >
85088508 <description >
85098509 <![CDATA[
85108510<p>
8511- Using object to temporary.
8511+ Using object that is a temporary.
85128512</p>
85138513<h2>References</h2>
85148514<p><a href="https://cwe.mitre.org/data/definitions/562.html" target="_blank">CWE-562: Return of Stack Variable Address</a></p>
@@ -8981,6 +8981,24 @@ missing return statement
89818981 <remediationFunction >LINEAR</remediationFunction >
89828982 <remediationFunctionGapMultiplier >5min</remediationFunctionGapMultiplier >
89838983 </rule >
8984+ <!-- ########### New in Cppcheck 2.70 ########### -->
8985+ <rule >
8986+ <key >missingMemberCopy</key >
8987+ <name >Member variable 'classname::varnamepriv' is not assigned in the copy constructor</name >
8988+ <description ><![CDATA[
8989+ <p>
8990+ Member variable 'classname::varnamepriv' is not assigned in the copy
8991+ constructor. Should it be copied?
8992+ </p>
8993+ <h2>References</h2>
8994+ <p><a href="https://cwe.mitre.org/data/definitions/398.html" target="_blank">CWE-398: 7PK - Code Quality</a></p>
8995+ ]]> </description >
8996+ <tag >cwe</tag >
8997+ <severity >MINOR</severity >
8998+ <type >BUG</type >
8999+ <remediationFunction >LINEAR</remediationFunction >
9000+ <remediationFunctionGapMultiplier >5min</remediationFunctionGapMultiplier >
9001+ </rule >
89849002 <!-- ########### Misra Rules ########### -->
89859003 <rule >
89869004 <key >misra-c2012-1.1</key >
0 commit comments