Giter Club home page Giter Club logo

Comments (1)

michaeldsmith avatar michaeldsmith commented on July 20, 2024

I think this memory leak reported by valgrind in IlmImfCtlTest is actually a bug in ilmbase v2.3. I do not think it is a bug in the CTL codebase.

ilmbase v2.3 is currently available via Ubuntu 20.04 package manager, i.e. sudo apt-get install libilmbase-dev

This page https://packages.ubuntu.com/focal/libilmbase-dev provides the ilmbase v2.3 code that is available via Ubuntu 20.04 package manager, it is identical to the source code within the directory IlmBase available from source https://github.com/AcademySoftwareFoundation/openexr/tree/RB-2.3

Building/installing openexr/ilmbase v2.5 from source https://github.com/AcademySoftwareFoundation/openexr/tree/RB-2.5 on Ubuntu 20.04 first before compiling and running valgrind on /CTL/unittest/IlmImfCtlTest fixes this memory leak, with valgrind reporting no leaks when using openexr/ilmbase v2.5 compiled from source.

The attached Dockerfile.zip contains a Dockerfile that builds openexr/ilmbase v2.5 from source on Ubuntu 20.04 before building CTL

I expect this is the same CVE-2018-18443 CVE-2018-18443 bug as reported in aswf/openexr issue 350 AcademySoftwareFoundation/openexr#350

It looks like aswf/openexr issue 350 AcademySoftwareFoundation/openexr#350 was fixed by aswf/openexr pull request 412 AcademySoftwareFoundation/openexr#412 with commit 5fa930b by @kdt3rd This fix was included in aswf openexr/ilmbase release v2.4.0, but has not been backported to openexr/ilmbase v2.3 or v2.2 that I believe are still widely deployed.

from ctl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.