fix(lib_ccx): add NULL checks for strdup return values (#2194)#2214
fix(lib_ccx): add NULL checks for strdup return values (#2194)#2214shivajigandham wants to merge 2 commits intoCCExtractor:masterfrom
Conversation
CCExtractor CI platform finished running the test files on linux. Below is a summary of the test results, when compared to test for commit 03ad9e8...:
Your PR breaks these cases:
NOTE: The following tests have been failing on the master branch as well as the PR:
Congratulations: Merging this PR would fix the following tests:
It seems that not all tests were passed completely. This is an indication that the output of some files is not as expected (but might be according to you). Check the result page for more info. |
CCExtractor CI platform finished running the test files on windows. Below is a summary of the test results, when compared to test for commit 03ad9e8...:
Your PR breaks these cases:
NOTE: The following tests have been failing on the master branch as well as the PR:
Congratulations: Merging this PR would fix the following tests:
It seems that not all tests were passed completely. This is an indication that the output of some files is not as expected (but might be according to you). Check the result page for more info. |
|
Closing — the strdup NULL checks are now covered by #2213 (just merged), which has broader coverage (9 files vs 5). The ts_functions.c change is also included there. Thanks for the contribution. |
I used Gemini CLI to help identify missing NULL checks in the legacy codebase. I have manually reviewed all
changes to ensure they match CCExtractor's error-handling patterns (using fatal() for OOM) and verified that the
refactored logic is technically sound.