Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix defect introduced 20050114T1947Z: use before initialization
'daily_interest_accounting' had been used before initialization. Defect identified by ASan [reformatted]: #0 in AccountValue::CoordinateCounters() ihs_acctval.cpp:1486 #1 in AccountValue::SetInitialValues() ihs_acctval.cpp:614 let-me-illustrate#2 in AccountValue::AccountValue(Input const&) ihs_acctval.cpp:109 Fixed by moving the initialization. Resisted the temptation simply to initialize it in the header, which would have left the defect intact but restored its invisibility. Although this defect was introduced 20050114T1947Z into CVS, it comes from an original file predating the lmi epoch.
- Loading branch information