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. example.c
        1 kB
        Pugachev Maxim
      2. AVRO-1084.patch
        0.8 kB
        Pugachev Maxim

        Activity

        Pugachev Maxim created issue -
        Pugachev Maxim made changes -
        Field Original Value New Value
        Attachment example.c [ 12526504 ]
        Pugachev Maxim made changes -
        Attachment AVRO-1084.patch [ 12526505 ]
        Pugachev Maxim made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Douglas Creager made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Fix Version/s 1.7.0 [ 12318848 ]
        Resolution Fixed [ 1 ]
        Doug Cutting made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development