Incomplete trees can be added in hash database
Bug #1910274 reported by
maksis
This bug affects 1 person
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| DC++ |
Fix Released
|
Undecided
|
Unassigned | ||
Bug Description
Steps to reproduce:
1. Start hashing a large file
2. Exit the application while the hashing is still in progress
3. Open HashIndex.xml and you'll find the file from there
Looks like the application isn't happy with the saved data as it begins to hash the file again on next startup. I didn't investigate why that was the case, but I'd say that the current behavior is quite risky if the code is being modified in future (and the invalid entry will not get rehashed, which is what happened with AirDC++).
Possibly the application could behave differently if "stop" is true: https:/
To post a comment you must log in.

https:/ /sourceforge. net/p/dcplusplu s/code/ ci/c1c007d312bf bc6fda3136a9029 4fe738225da15/ fixes this.