You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Jake Farrell (JIRA)" <ji...@apache.org> on 2011/08/11 22:58:27 UTC

[jira] [Closed] (THRIFT-1252) Segfault in Ruby deserializer

     [ https://issues.apache.org/jira/browse/THRIFT-1252?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jake Farrell closed THRIFT-1252.
--------------------------------


> Segfault in Ruby deserializer
> -----------------------------
>
>                 Key: THRIFT-1252
>                 URL: https://issues.apache.org/jira/browse/THRIFT-1252
>             Project: Thrift
>          Issue Type: Bug
>          Components: Ruby - Library
>    Affects Versions: 0.7
>         Environment: Thrift 0.7.0dev (revision 1152979)
> Ruby 1.9.2
> OS X 10.6, Linux x86_64
>            Reporter: Ilya Maykov
>            Assignee: Ilya Maykov
>             Fix For: 0.7
>
>         Attachments: THRIFT-1252.patch
>
>
> There is a segfault bug in the native Ruby deserializer that was introduced with THRIFT-1189. The @index variable of MemoryBufferTransport is not always correctly updated from native code when GARBAGE_BUFFER_SIZE is exceeded.
> Will attach the patch shortly.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira