lmi-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lmi-commits] [lmi] master 45f2664 1/4: Fix defect introduced 20050114T1


From: Greg Chicares
Subject: [lmi-commits] [lmi] master 45f2664 1/4: Fix defect introduced 20050114T1947Z: array bound too large
Date: Sun, 10 Mar 2019 20:15:34 -0400 (EDT)

branch: master
commit 45f2664bc875e35e52e6e31a626f5677fcac8c9e
Author: Gregory W. Chicares <address@hidden>
Commit: Gregory W. Chicares <address@hidden>

    Fix defect introduced 20050114T1947Z: array bound too large
    
    This was a QoI issue that didn't cause incorrect behavior.
---
 dbdict.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dbdict.cpp b/dbdict.cpp
index 18f5ea9..70f1e28 100644
--- a/dbdict.cpp
+++ b/dbdict.cpp
@@ -681,7 +681,7 @@ sample::sample()
     // Male uses table E, which is correct, as opposed to table F,
     // which contains a numerical error but was adopted by NAIC.
     int dims311[e_number_of_axes] = {3, 1, 1, 1, 1, 1, 1}; // gender
-    double T7702q[9] = {35, 41, 107,}; // Female, male, unisex.
+    double T7702q[3] = {35, 41, 107,}; // Female, male, unisex.
     Add({DB_Irc7702QTable, e_number_of_axes, dims311, T7702q});
 
     Add({DB_CvatMatChangeDefn   , 
mce_earlier_of_increase_or_unnecessary_premium});



reply via email to

[Prev in Thread] Current Thread [Next in Thread]