Avro
  1. Avro
  2. AVRO-1084

acvo-c: reference counting error in file_writer and file_reader code

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.6.3, 1.7.0
    • Fix Version/s: 1.7.0
    • Component/s: c
    • Labels:
      None

      Description

      Missed incref/decref calls for writer_schema in file_writer_create() and avro_file_reader_get_writer_schema() functions. Crash dump example in the attached code.

      1. AVRO-1084.patch
        0.8 kB
        Pugachev Maxim
      2. example.c
        1 kB
        Pugachev Maxim

        Activity

          People

          • Assignee:
            Unassigned
            Reporter:
            Pugachev Maxim
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development