aboutsummaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2018-07-19 09:53:35 -0400
committerLioncash <mathew1800@gmail.com>2018-07-19 09:57:48 -0400
commit106207e2ca7a72f1d52d7bd063ce79bcaeca6fc7 (patch)
tree7e444921bee8ca9922431a3bd6da6e3ff9375690 /src/common
parent49881ebe2c4023a2e4a38b224bf9013dee7e24db (diff)
fsp_srv: Respect write length in Write()
Previously we were just copying the data whole-sale, even if the length was less than the total data size. This effectively makes the actual_data vector useless, which is likely not intended. Instead, amend this to only copy the given length amount of data. At the same time, we can avoid zeroing out the data before using it by passing iterators to the constructor instead of a size.
Diffstat (limited to 'src/common')
0 files changed, 0 insertions, 0 deletions