Skip to content

Fix mgmt command write size check - #8

Open
bnkoppad wants to merge 1 commit into
edge-aosp-bsp:celadon/a15/masterfrom
akanisetti:coverity-fix-wave-1
Open

Fix mgmt command write size check#8
bnkoppad wants to merge 1 commit into
edge-aosp-bsp:celadon/a15/masterfrom
akanisetti:coverity-fix-wave-1

Conversation

@bnkoppad

@bnkoppad bnkoppad commented Jun 17, 2026

Copy link
Copy Markdown

Replace hardcoded 6 with sizeof(cmd) in mgmt command write. Compare write result with explicit ssize_t casts.
Prevents wrong-size argument warnings with no behavior change.

Tracked-On: NIACP3-1397

Replace hardcoded 6 with sizeof(cmd) in mgmt command write.
Compare write result with explicit ssize_t casts.
Prevents wrong-size argument warnings with no behavior change.

Tracked-On: NIACP3-1397
Signed-off-by: Anisetti Avinash Krishna <anisetti.avinash.krishna@intel.com>
@bnkoppad
bnkoppad requested a review from a team June 17, 2026 03:23
@bnkoppad bnkoppad changed the title Coverity fix wave 1 Fix mgmt command write size check Jun 17, 2026
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.

2 participants