You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Douglas Creager (JIRA)" <ji...@apache.org> on 2012/06/18 23:06:42 UTC

[jira] [Resolved] (AVRO-1110) avro_set_error() in AVRO C version 1.6.3 is not thread safe

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

Douglas Creager resolved AVRO-1110.
-----------------------------------

    Resolution: Duplicate

As Maxim pointed out, we merged a different fix for this issue in AVRO-1092.
                
> avro_set_error() in AVRO C version 1.6.3 is not thread safe
> -----------------------------------------------------------
>
>                 Key: AVRO-1110
>                 URL: https://issues.apache.org/jira/browse/AVRO-1110
>             Project: Avro
>          Issue Type: Bug
>          Components: c
>    Affects Versions: 1.6.3
>            Reporter: Sasha Pachev
>         Attachments: errors.patch
>
>
> avro_set_error() is using a global buffer, which is not thread-safe. Proposed solution is instead of always using the AVRO_CURRENT_ERROR buffer to provide an option for the caller to supply its own buffer via function pointer callback.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira