- Notifications
You must be signed in to change notification settings - Fork4.9k
Commitdf0a67f
committed
Fix incorrect calculation in shm_mq_receive.
If some, but not all, of the length word has already been read, and thenext attempt to read sees exactly the number of bytes needed to completethe length word, or fewer, then we'll incorrectly read less than all ofthe available data.Antonin Houska1 parent0e141c0 commitdf0a67f
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
584 | 584 |
| |
585 | 585 |
| |
586 | 586 |
| |
587 |
| - | |
| 587 | + | |
588 | 588 |
| |
589 | 589 |
| |
590 | 590 |
| |
|
0 commit comments
Comments
(0)