avro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Douglas Creager (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (AVRO-1110) avro_set_error() in AVRO C version 1.6.3 is not thread safe
Date Mon, 18 Jun 2012 21:06:42 GMT

     [ 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


View raw message