Coder Social home page Coder Social logo

Comments (11)

stemidts avatar stemidts commented on July 19, 2024

Thanks for the report. Can you specify the commit id you're using to decode?

from thor.

fCorleone avatar fCorleone commented on July 19, 2024

I have checked the commit id, it's commit e42047d.It's strange that I cloned the code from the https://github.com/cisco/thor.git 12 days ago. Does it mean that I would get the latest version of the code? But when I check the commit id using command line:

git reflog

I got this :

e42047d HEAD@{0}: clone: from https://github.com/cisco/thor.git

from thor.

stemidts avatar stemidts commented on July 19, 2024

Thanks. It looks to me that the bitstream contains illegal elements, which indicates that there is an encoder bug as well. Are you able to share how you produced the stream? (config file, options & input video)

Does the following patch for you work? (it should fix the crash, but the file will not be decodable):
patch.txt

from thor.

fCorleone avatar fCorleone commented on July 19, 2024

My command line to produce the stream is like:

./Thordec test.bit out.yuv

with no options and config file , I just try to input a file and the issue happened.
The input file has been placed at:https://github.com/fCorleone/fuzz_programs/blob/master/thor/test.bit
I will try the patch later.
By the way, I'm wondering that could I get a CVE ID for this issue?
Thank you for your reply to this issue anyway.

from thor.

stemidts avatar stemidts commented on July 19, 2024

I meant the Thorenc command used to produce test.bit (and test2.bit in #37)

from thor.

fCorleone avatar fCorleone commented on July 19, 2024

Oh, the test bit was not produced by Thorenc using a certain video. The test bit was created in fuzzing process. I put a seed into the fuzzing process and afl mutated the seed and got the test bit which would make a crash to the program.

from thor.

fCorleone avatar fCorleone commented on July 19, 2024

@stemidts Could I get CVE-IDs for this two issues please?

from thor.

stemidts avatar stemidts commented on July 19, 2024

We haven't issued CVE's yet. In order for me to understand this problem correctly, it would be helpful if you could give feedback whether the patch helps.

from thor.

fCorleone avatar fCorleone commented on July 19, 2024

Yes , the patch fix the problem for me.

from thor.

fCorleone avatar fCorleone commented on July 19, 2024

@stemidts will I get CVE-ids for these two issues?

from thor.

stemidts avatar stemidts commented on July 19, 2024

The issues seem to have the same root cause and the CVD ID is CVE-2018-0429.

A patch has been committed into the repository.

from thor.

Related Issues (18)

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.