Skip to content

Fix handling of BTSD length 0 for BIB and BCB - #274

Merged
BrianSipos merged 5 commits into
mainfrom
270-data-init-empty
Aug 20, 2026
Merged

Fix handling of BTSD length 0 for BIB and BCB#274
BrianSipos merged 5 commits into
mainfrom
270-data-init-empty

Conversation

@BrianSipos

@BrianSipos BrianSipos commented Aug 19, 2026

Copy link
Copy Markdown
Collaborator

This adds result guards for all calls to BSL_Data_InitBuffer(), for which failure means out-of-memory.
This change also adds explicit mock BPA tests for default security context operations.

Closes #270

@BrianSipos BrianSipos added this to the BSL v2.0.0 milestone Aug 19, 2026
@BrianSipos BrianSipos self-assigned this Aug 19, 2026
@BrianSipos BrianSipos added this to BSL Aug 19, 2026
@BrianSipos BrianSipos added the bug Something isn't working label Aug 19, 2026
@github-project-automation github-project-automation Bot moved this to Todo in BSL Aug 19, 2026
@BrianSipos BrianSipos moved this from Todo to In Progress in BSL Aug 19, 2026
@BrianSipos
BrianSipos force-pushed the 270-data-init-empty branch 2 times, most recently from 69d2d1f to 7f0232b Compare August 19, 2026 17:42
@BrianSipos
BrianSipos marked this pull request as ready for review August 19, 2026 18:29
@BrianSipos
BrianSipos requested a review from a team as a code owner August 19, 2026 18:29
@BrianSipos
BrianSipos force-pushed the 270-data-init-empty branch from fb28dbf to a1bed4a Compare August 20, 2026 02:22
@BrianSipos
BrianSipos force-pushed the 270-data-init-empty branch from a1bed4a to f2f8fed Compare August 20, 2026 02:30
@sonarqubecloud

Copy link
Copy Markdown

@BrianSipos
BrianSipos merged commit 6f39768 into main Aug 20, 2026
25 checks passed
@BrianSipos
BrianSipos deleted the 270-data-init-empty branch August 20, 2026 13:16
@github-project-automation github-project-automation Bot moved this from In Progress to Done in BSL Aug 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Uninitialized BSL_Data_t btsd_copy used when a block's btsd_len is 0

2 participants