ext/socket/init.c: do not return uninitialized buffer
BasicSocket#read_nonblock and some methods changes the size of a buffer string, but when no data is available, the buffer is returned as uninitialized.
Co-Authored-By: Samuel Williams samuel.williams@oriontransfer.co.nz
ext/socket/init.c: do not return uninitialized buffer
BasicSocket#read_nonblock and some methods changes the size of a buffer
string, but when no data is available, the buffer is returned as
uninitialized.
Co-Authored-By: Samuel Williams samuel.williams@oriontransfer.co.nz