Skip to content

Fix CID 1523641 - unchecked error return#11665

Merged
JosiahWI merged 1 commit intoapache:masterfrom
JosiahWI:fix/cid1523641
Aug 13, 2024
Merged

Fix CID 1523641 - unchecked error return#11665
JosiahWI merged 1 commit intoapache:masterfrom
JosiahWI:fix/cid1523641

Conversation

@JosiahWI
Copy link
Copy Markdown
Contributor

We should abort the test if written indicates an error, otherwise we will call memcmp later with the value we didn't intend to be negative. This is already done correctly in all the other tests.

We should abort the test if `written` indicates an error, otherwise
we will call `memcmp` later with the value we didn't intend to be
negative. This is already done correctly in all the other tests.
@JosiahWI JosiahWI added this to the 10.1.0 milestone Aug 10, 2024
@JosiahWI JosiahWI self-assigned this Aug 10, 2024
@JosiahWI JosiahWI changed the title Fix CID 1523641 Fix CID 1523641 - unchecked error return Aug 12, 2024
@bryancall bryancall requested a review from moonchen August 12, 2024 22:35
@JosiahWI JosiahWI merged commit cfb8cc2 into apache:master Aug 13, 2024
@JosiahWI JosiahWI deleted the fix/cid1523641 branch August 13, 2024 17:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants