Commits


Antoine Pitrou authored and Wes McKinney committed 1ff79785e62
ARROW-4150: [C++] Ensure allocated buffers have non-null data pointer We would originally give 0-size buffers a null data pointer, but passing a null pointer to certain library functions such as memcpy() yields undefined behaviour. Also, a null pointer is a common indication that an error or bug occurred. Author: Antoine Pitrou <antoine@python.org> Closes #3309 from pitrou/ARROW-4150-non-null-buffer-data and squashes the following commits: d9f1b03bf <Antoine Pitrou> ARROW-4150: Ensure allocated buffers have non-null data pointer