update ringbuffer avoid potential risk in ringbuffer_get
update ringbuffer avoid potential risk in ringbuffer_get

MuggleWei/muggleCC,MuggleWei/muggleCC,MuggleWei/muggleLib,MuggleWei/muggleLib,MuggleWei/muggleLib