diff options
author | Ariel Miculas <ariel.miculas@gmail.com> | 2024-06-04 10:43:24 +0300 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2024-06-13 14:34:53 -0400 |
commit | 5ac0826dd50b8b11e5595c0e5ad4b84ce57f269e (patch) | |
tree | 45b5fc9004dfcc90d080d8ddb3e6c8552078f953 /c_src/cmd_counters.c | |
parent | 943005c68b2365c609b96ca40c02ee5c3f0a9a2d (diff) |
Fix incomplete file copy due to copy_data misuse
The copy_data function takes a start and an end parameter as the range
of bytes to copy, but it was called with a start and a length parameter.
This resulted in incomplete file copies. Fix it by passing the end of
the range instead of the length.
Signed-off-by: Ariel Miculas <ariel.miculas@gmail.com>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'c_src/cmd_counters.c')
0 files changed, 0 insertions, 0 deletions