You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Lucas Martin-King (Updated) (JIRA)" <ji...@apache.org> on 2012/01/31 02:07:10 UTC
[jira] [Updated] (AVRO-1014) Avro-C's Avrocat does not check if
avro_value_to_json fails
[ https://issues.apache.org/jira/browse/AVRO-1014?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Lucas Martin-King updated AVRO-1014:
------------------------------------
Status: Patch Available (was: Open)
> Avro-C's Avrocat does not check if avro_value_to_json fails
> -----------------------------------------------------------
>
> Key: AVRO-1014
> URL: https://issues.apache.org/jira/browse/AVRO-1014
> Project: Avro
> Issue Type: Bug
> Components: c
> Reporter: Lucas Martin-King
> Labels: avrocat
>
> In avrocat.c, function process_file, the return value of avro_value_to_json is not checked, so if the JSON conversion fails, a free of the char *json will occur.
> I have attached a patch to check the return value and print an error.
--
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