mirror of
https://github.com/CCExtractor/ccextractor.git
synced 2026-07-08 18:06:30 +00:00
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/300
Author: @Abhinav95
Created: 3/8/2016
Status: ❌ Closed
Base:
master← Head:master📝 Commits (1)
0089901Fixed segfault on using -sc for a blank line📊 Changes
1 file changed (+20 additions, -0 deletions)
View changed files
📝
src/lib_ccx/ccx_encoders_helpers.c(+20 -0)📄 Description
The seg-fault would happen if the value of string p1 or p2 is null, which happens in a blank line. Returning a non-zero value for string_cmp2 (1 chosen arbitrarily here) if the null case happens prevents the seg-fault from happening.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.