Uploaded image for project: 'ORC'
  1. ORC
  2. ORC-384

C++ Reader leaks memory when reading a non-ORC file

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.5.1
    • Fix Version/s: 1.5.3, 1.6.0
    • Component/s: C++
    • Labels:

      Description

      When opening a non-ORC file, the readPostscript/ensureOrcFooter function throw an error, leaving behind a new'd DataBuffer<char>.

      Solution is to replace with std::unique_ptr<DataBuffer<char>>.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                martinrupp Martin Rupp
                Reporter:
                martinrupp Martin Rupp
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 2h
                  2h
                  Remaining:
                  Remaining Estimate - 2h
                  2h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified