Skip to content

blackbox: Sanitize items read from the blackbox header#438

Merged
chrissie-c merged 1 commit intoClusterLabs:mainfrom
chrissie-c:covscan0221
Mar 18, 2022
Merged

blackbox: Sanitize items read from the blackbox header#438
chrissie-c merged 1 commit intoClusterLabs:mainfrom
chrissie-c:covscan0221

Conversation

@chrissie-c
Copy link
Copy Markdown
Contributor

covscan complained we don't check the blackbox header when
reading it in - quite reasonably

(first pass for covscan approval)

@kgaillot
Copy link
Copy Markdown

I'm not familiar with the blackbox code but the general idea looks good to me

covscan complained we don't check the blackbox header when
reading it in. (quite reasonably)

Note that we still get a covscan error for ->shared_data, but that's
really impossible to verify in the read routine, so I'll leave the
covscan waiver to handle that.
@chrissie-c chrissie-c merged commit 06e318f into ClusterLabs:main Mar 18, 2022
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.

3 participants