diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2017-07-21 05:42:42 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2017-07-21 05:42:42 +0200 |
commit | 45e6b4f1539b4ed68ff1d4136897827111d00396 (patch) | |
tree | 94f3a35c87e12b90c4ed44fe1a3a62e937e6b822 /dinput/dinput.cpp | |
parent | 4358241517f0c4740a729959855cab8db4c7f4c6 (diff) |
tracker/s2bot: fix few bugs
- Received values got converted to integers. I find
this hard to believe. Even if this is so, converting
to double leaves forward-compatibility if the sender
software gets its act together.
- There was a buffer overflow when indexing the
"indices" array.
- Mutex scope bigger than necessary.
The code is copy-pasted from the FreePIE tracker.
Perhaps if its own code was easier to understand, there
wouldn't be any buffer overflows to begin with.
Diffstat (limited to 'dinput/dinput.cpp')
0 files changed, 0 insertions, 0 deletions