Segfault in avro_{bytes,sting,fixed}_set
----------------------------------------
Key: AVRO-745
URL: https://issues.apache.org/jira/browse/AVRO-745
Project: Avro
Issue Type: Bug
Components: c
Reporter: Douglas Creager
Assignee: Douglas Creager
Attachments: 0001-Fixed-memory-bug-in-bytes-string-fixed-values.patch
The avro_bytes_set function (and its string and fixed counterparts) are
supposed to save a copy of the value, which the avro_datum_t instance takes
full control over. Unfortunately, we were making that copy but then saving the
original pointer, which would lead to a segfault when freeing the datum.
Whoops...
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.