Repository navigation
Mythos Defect Remediation - RRD - #261
Kaavyashree2 wants to merge 18 commits into
Conversation
Code Coverage Summary |
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues were identified for the change that sanitizes issue types used in log archive filenames.
No open issues 🎉
What changed in this PR
This PR hardens issue-type handling in the RRD log-upload script by normalizing and filtering the value used in archive filenames.
Changes:
- Replaces unquoted
echowith quotedprintfto preserve the input during processing. - Converts the issue type to uppercase and restricts it to letters, digits, underscores, and hyphens.
| File | Description |
|---|---|
scripts/uploadRRDLogs.sh |
Sanitizes the issue type used to name uploaded log archives. |
Review effort: Balanced
There was a problem hiding this comment.
🟡 Changes recommended
Unresolved validation gaps accept malformed wrappers and abbreviated metadata keys, while mandatory metadata checks break an existing success test and new overflow tests contain incorrect size assumptions and out-of-bounds reads.
7 open issues
Use representable lengths in the size_t overflow test · New Prevent SIZE_MAX result-length allocation overflow Reject present but invalid optional wrappers Require exact metadata key lengths Initialize both objects used by the array-boundary test · New Add required metadata to the success-test fixture Update test for strict string type matching
Review effort: Balanced
There was a problem hiding this comment.
🔵 Needs a closer look
Metadata validation accepts prefix keys and breaks existing success fixtures, while new overflow tests fail on 64-bit hosts and trigger an out-of-bounds read.
7 open issues
Use representable lengths in the size_t overflow test Prevent SIZE_MAX result-length allocation overflow Reject present but invalid optional wrappers Require exact metadata key lengths Initialize both objects used by the array-boundary test Add required metadata to the success-test fixture Update test for strict string type matching
Review effort: Balanced
There was a problem hiding this comment.
🔵 Needs a closer look
Unresolved decoder validation flaws accept abbreviated required-field keys and wrongly typed wrappers, while the new metadata requirement breaks an existing success test.
5 open issues
2 resolved since last review
Review effort: Balanced
Code Coverage Summary |
There was a problem hiding this comment.
🔵 Needs a closer look
Metadata key matching accepts prefixes and empty keys, allowing malformed entries to populate version or transaction ID fields; exact key-length checks are needed.
3 open issues
1 resolved since last review
Review effort: Balanced
…ngths' Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
There was a problem hiding this comment.
🟡 Changes recommended
The strict key-length check rejects the success-test fixture’s incorrectly packed remotedebugger key, returning an empty document and failing assertions until both fixture packing lengths are corrected.
2 open issues
2 resolved since last review
Review effort: Balanced
Code Coverage Summary |


No description provided.