Skip to content

Christianrosewich security audit fixes - #21

Merged
ChristianRosewich merged 7 commits into
masterfrom
christianrosewich-security-audit-fixes
Aug 12, 2026
Merged

Christianrosewich security audit fixes#21
ChristianRosewich merged 7 commits into
masterfrom
christianrosewich-security-audit-fixes

Conversation

@ChristianRosewich

Copy link
Copy Markdown
Owner

No description provided.

deroschr added 7 commits August 12, 2026 12:17
Resolve the remaining CodeQL severity=error alerts that were reviewed in this pass.

- Replace non-short-circuit boolean logic with short-circuit checks in GenFreeWin UI/view-model code.
- Use whitespace-safe string guards for the affected conditionals.
- Fix the Avalonia screen equality check to avoid reference-only comparison semantics.

This commit continues the CodeQL remediation work for PR #20.
Broaden the CodeQL remediation pass to the next verified severity=error alerts across the repo.

- Implement equality members for classes flagged by cs/class-missing-equals.
- Correct invalid string formatting in the statistics and formatting examples.
- Harden thread-safe access in JC-AMS station lookup/update paths.
- Keep the existing security remediation branch moving toward a clean CodeQL run.

This continues the CodeQL work for issue #20.
Address the next batch of CodeQL error alerts across GenFreeWin.

- Replace remaining non-short-circuit boolean logic with short-circuit operators.
- Preserve the intended learning example formatting string in TestStatements.
- Continue the repo-wide CodeQL remediation work tracked by issue #20.
Address the next batch of CodeQL error alerts in the GenFreeWin print flow.

- Replace the remaining non-short-circuit boolean checks with short-circuit operators.
- Keep the explicit self-assignment in Anzeige as a documented learning exercise.
- Continue the repo-wide CodeQL remediation work tracked by issue #20.
Address the next non-GenFreeWin CodeQL error alerts.

- Mark unused computed values in the render demo as intentionally discarded.
- Reduce precision-loss warnings in console display examples by using byte-range values.
- Clean up unused collection output in AsteroidsModernEngine tests.
- Preserve the ongoing CodeQL remediation trail for issue #20.
Address the next verified CodeQL alerts outside the previous batches.

- Complete the custom draw operation equality implementation in the render demo.
- Remove the explicit self-assignment that was already documented as a learning exercise.
- Continue the issue #20 CodeQL remediation stream.
Address the next verified error-class CodeQL alerts across the broader repo.

- Clamp color calculations in console demo code to avoid precision-loss issues.
- Mark intentionally persistent collections as readonly and simplify test fixtures.
- Replace a non-short-circuit loop guard and a bitwise XML writer flag check.
- Continue the issue #20 CodeQL remediation stream.
@ChristianRosewich
ChristianRosewich merged commit 98a1355 into master Aug 12, 2026
5 of 8 checks passed
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.

1 participant