Check for EOF before every getline, and warn when reading gets to EOF before the end of the data.
Also check when number of keys does not match number of values.
Stricter error checking could shed more light on issues such as #7463 and #7379.
Check for EOF before every getline, and warn when reading gets to EOF
before the end of the data.
Stricter error checking could shed more light on issues such as #7463
and #7379.
utACK
utACK ca8fb59
Edit: I got this once now:
2016-02-27 18:15:43 Renamed wallet.dat to wallet.1456596943.bak
2016-02-27 18:15:43 CDBEnv::Salvage: Database salvage found errors, all data may not be recoverable.
2016-02-27 18:15:43 CDBEnv::Salvage: WARNING: Number of keys in data does not match number of values.
2016-02-27 18:15:43 CDBEnv::Salvage: WARNING: Unexpected end of file while reading salvage output.
2016-02-27 18:15:43 Salvage(aggressive) found 300 records