diff options
author | 2017-05-27 21:23:45 -0400 | |
---|---|---|
committer | 2017-05-28 11:23:45 +1000 | |
commit | 297bea495d0e62acb2cc609546b7da322cddf5b7 (patch) | |
tree | 1ce8dc10e1d40455e96f87e82778cece363a19f3 /src/tools/floptool.cpp | |
parent | 46eb9309484163f69c759d1c416b741a958f0549 (diff) |
Fixed issue when the hash length is zero (#2314)
* Fixed issue when the hash length is zero
The following is illegal, even if no elements in the pointer are accessed:
std::vector<my_struct> my_vec(0); // create an empty std::vector
my_struct *ptr = &my_vec[0];
While this is a degenerate scenario, this should be fixed
Diffstat (limited to 'src/tools/floptool.cpp')
0 files changed, 0 insertions, 0 deletions