Commit edf9ff1
committed
TS-4272: Clear memory for new HostDBInfo items
std::map is creating an entry, and we are setting a subset of values. Since we were not clearing the memory that we got, we end up with some non-initialized structure fields-- meaning the HostDBInfo object we return is corrupt.
Fixes #5231 parent 0e419b4 commit edf9ff1
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2862 | 2862 | | |
2863 | 2863 | | |
2864 | 2864 | | |
| 2865 | + | |
2865 | 2866 | | |
2866 | 2867 | | |
2867 | 2868 | | |
| |||
0 commit comments