Commits


David Li authored and GitHub committed ef6049a2ee5
ARROW-17191: [C++][FlightRPC] Handle inlined slices after concatenation (#13696) See the JIRA for details, but essentially: data was getting corrupted since allocating a new `shared_ptr` control block was overwriting the data in a `GrpcBuffer`. This happened because the data was inlined into the structure, which we weren't properly accounting for. Instead, copy the data into a new buffer in these cases. I'm not sure why creating a new `shared_ptr` was overlapping an existing allocation, however. Authored-by: David Li <li.davidm96@gmail.com> Signed-off-by: Sutou Kouhei <kou@clear-code.com>