Jean Dao 69f46cab55 fix argsAlloc buffer size
The buffer `buf` contains N (= `slice_sizes.len`) slices followed by the
N null-terminated arguments. The N null-terminated arguments are stored
in the `contents` array list. Thus, `buf` size should be:
    @sizeOf([]u8) * slice_sizes.len + contents_slice.len

Instead of:
    @sizeOf([]u8) * slice_sizes.len + contents_slice.len + slice_sizes.len

This bug was found thanks to the gpa allocator which checks if freed
size matches allocated sizes for large allocations.
2022-02-02 22:04:02 -07:00
..
2022-02-02 22:00:55 -07:00
2022-02-02 21:24:40 -07:00
2021-12-31 14:19:36 -07:00
2022-02-02 22:04:02 -07:00
2021-10-27 16:07:48 -04:00