-
Notifications
You must be signed in to change notification settings - Fork 101
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
A SIGSEGV signal appear when running program Thordec #36
Comments
Thanks for the report. Can you specify the commit id you're using to decode? |
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:
I got this :
|
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): |
My command line to produce the stream is like:
with no options and config file , I just try to input a file and the issue happened. |
I meant the Thorenc command used to produce test.bit (and test2.bit in #37) |
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. |
@stemidts Could I get CVE-IDs for this two issues please? |
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. |
Yes , the patch fix the problem for me. |
@stemidts will I get CVE-ids for these two issues? |
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. |
An issue has been discovered when use Thordec:
The input file is displayed at: https://github.com/fCorleone/fuzz_programs/blob/master/thor/test.bit
The command line is ./Thordec test.bit out.yuv
The text was updated successfully, but these errors were encountered: