Pugachev Maxim created AVRO-1115:
------------------------------------
Summary: avro-c: possible crash error in codec cleanup code
Key: AVRO-1115
URL: https://issues.apache.org/jira/browse/AVRO-1115
Project: Avro
Issue Type: Bug
Components: c
Affects Versions: 1.7.0
Reporter: Pugachev Maxim
Priority: Critical
There is a possible crash error in codec cleanup code. Test-case is simple: you
need to call an "avro_file_writer_open" function with wrong file name (i.e.
non-existent file). Valgrind output:
==15259== Conditional jump or move depends on uninitialised value(s)
==15259== at 0x40340A9: avro_codec_reset (in
/home/mpugachev/work/avro-trunk/lang/c/src/libavro.so.22.0.0)
==15259== by 0x4035FBC: avro_file_writer_open (in
/home/mpugachev/work/avro-trunk/lang/c/src/libavro.so.22.0.0)
==15259== by 0x80485B0: main (in /home/mpugachev/work/test/avro/example4)
--
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