fix nullpointer crash, _cor_mngdsocket_sendmsg: do not send small segments