Skip to content

Fixed bug with -out=null#475

Merged
cfsmp3 merged 1 commit intoCCExtractor:masterfrom
Izaron:out-null-bug
Dec 5, 2016
Merged

Fixed bug with -out=null#475
cfsmp3 merged 1 commit intoCCExtractor:masterfrom
Izaron:out-null-bug

Conversation

@Izaron
Copy link
Copy Markdown
Member

@Izaron Izaron commented Dec 3, 2016

https://codein.withgoogle.com/dashboard/task-instances/5591734023094272/

I checked the correctness (I had segfault too).
Falling test - the only test that has an argument -out=null. But I checked some other files, and they too gave segfault with -out=null.
How is it? Firstly, after this line #1 enc_ctx becomes NULL (from function #2), and we get an error in this line #3
If we run it with other files, then we almost always get an segfault error in other places associated with the fact that enc_ctx = NULL.
I have added the necessary checks, and now works well.

@cfsmp3 cfsmp3 merged commit 764c890 into CCExtractor:master Dec 5, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants