Skip to content

fix(program): add defensive null checks and fix syntax error - #21

Merged
rfprod merged 1 commit into
mainfrom
curl-debug-mode
Nov 2, 2026
Merged

rfprod merged 1 commit into
mainfrom
curl-debug-mode

Conversation

@rfprod

@rfprod rfprod commented Nov 2, 2026

Copy link
Copy Markdown
Owner
  • add null check for self.requires in requirements();
  • fix a malformed format string in ollama_client.cpp debug mode;
  • add null checks in CurlUtils::cleanup() method;
  • add debug logging for curl pointers during cleanup;

@rfprod rfprod self-assigned this Nov 2, 2026
@rfprod rfprod added Fix Something was fixed. Program Main program logic related changes. labels Nov 2, 2026
@rfprod
rfprod enabled auto-merge (squash) November 2, 2026 07:49
- [x] add `null` check for `self.requires` in `requirements()`;
- [x] fix a malformed format string in `ollama_client.cpp` debug mode;
- [x] add `null` checks in `CurlUtils::cleanup()` method;
- [x] add debug logging for `curl` pointers during cleanup;
@rfprod
rfprod merged commit 6ccbbd6 into main Nov 2, 2026
3 checks passed
@rfprod
rfprod deleted the curl-debug-mode branch November 2, 2026 07:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Fix Something was fixed. Program Main program logic related changes.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant