DescriptionMojo: Fix data pipe ALL_OR_NONE write capacity check.
Fixes a bug where ALL_OR_NONE writes to data pipes were checking the
total capacity of the pipe, rather than the available capacity. The bug
allowed ALL_OR_NONE writes to succeed (MOJO_RESULT_OK), but in actuality
only a portion of the data was written.
Updated unit test with a case that fails w/o the fix, but passes with
the fix.
Committed: https://crrev.com/6e49b250ab7a13d62426bb54c348e0a50cd7967a
Cr-Commit-Position: refs/heads/master@{#418929}
Patch Set 1 #
Total comments: 3
Messages
Total messages: 12 (7 generated)
|