-
Notifications
You must be signed in to change notification settings - Fork 839
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix integer underflow in sendJVC(). (#401)
Since `sendJVC()` was updated to use `sendGeneric()` it has produced a double minimum gap at the end of each message, instead of a single one. This wasn't picked up by our unit-testing. This tickled a situation where an integer underflow happened when calculating the required `space()` length, which would cause a delay of approx 1h20m. Refactored code to eliminate this problem, and a potential similar case in `sendWhynter()` too. This is a derivative of the bug/issue #381 This instance was reported in #400, which this patch should fix.
- Loading branch information
1 parent
fce4ccf
commit f6451bf
Showing
4 changed files
with
26 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters