mirror of
https://github.com/CCExtractor/ccextractor.git
synced 2026-04-28 17:10:33 +00:00
[PR #475] [MERGED] Fixed bug with -out=null #1292
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/CCExtractor/ccextractor/pull/475
Author: @Izaron
Created: 12/3/2016
Status: ✅ Merged
Merged: 12/5/2016
Merged by: @cfsmp3
Base:
master← Head:out-null-bug📝 Commits (1)
764c890Fixed bug with -out=null📊 Changes
2 files changed (+10 additions, -6 deletions)
View changed files
📝
src/lib_ccx/general_loop.c(+9 -5)📝
src/lib_ccx/lib_ccx.c(+1 -1)📄 Description
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_ctxbecomes NULL (from function #2), and we get an error in this line #3If 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.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.