Project

General

Profile

« Previous | Next » 

Revision f832d957

Added by naruse (Yui NARUSE) over 5 years ago

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