mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-20 00:51:42 +00:00
If the byte array allocated is longer then the count passed to the write method, there will be a buffer overflow exception. Only put the number of bytes specified by count. Change-Id: I10ff48d5a5cf3f82c4e4e347326be033db300cdb