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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.5.1
    • 1.5.3, 1.6.0
    • C++

    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

              martinrupp Martin Rupp
              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