Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
0.5
-
None
Description
I think there should be a call to Check_Type(str, T_STRING) in there
VALUE rb_thrift_memory_buffer_write(VALUE self, VALUE str) {
VALUE buf = GET_BUF(self);
rb_str_buf_cat(buf, RSTRING_PTR(str), RSTRING_LEN(str));
return Qnil;
}
Attachments
Issue Links
- is part of
-
THRIFT-2182 segfault in regression tests (GC bug in rb_thrift_memory_buffer_write)
- Closed