Avro
  1. Avro
  2. AVRO-1086

avro-c: Possible crash bug in deflate codec initialization

    Details

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

      Description

      There is a possible crash bug in codec_deflate() function. If deflateInit2() or inflateInit2() will be not Z_OK, then we'll get junk pointer codec->codec_data. Next call to codec_reset() will fail.

      1. AVRO-1086.patch
        0.6 kB
        Pugachev Maxim

        Activity

        Pugachev Maxim created issue -
        Hide
        Pugachev Maxim added a comment -

        Patch for this issue

        Show
        Pugachev Maxim added a comment - Patch for this issue
        Pugachev Maxim made changes -
        Field Original Value New Value
        Attachment AVRO-1086.patch [ 12526620 ]
        Pugachev Maxim made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Hide
        Douglas Creager added a comment -

        Committed to SVN

        Show
        Douglas Creager added a comment - Committed to SVN
        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 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Patch Available Patch Available
        43s 1 Pugachev Maxim 12/May/12 11:37
        Patch Available Patch Available Resolved Resolved
        8d 3h 27m 1 Douglas Creager 20/May/12 15:05
        Resolved Resolved Closed Closed
        22d 5h 56m 1 Doug Cutting 11/Jun/12 21:01

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development