Compare commits

...

2 Commits

Author SHA1 Message Date
f8179494b6
Bump version, link to releases
All checks were successful
Alpine 3.20 Success
2024-11-26 03:07:40 +01:00
ef82918f78
eizoctl: more careful data handling 2024-11-26 02:57:15 +01:00
3 changed files with 5 additions and 3 deletions

View File

@ -1,5 +1,5 @@
cmake_minimum_required (VERSION 3.10)
project (usb-drivers VERSION 0.1.0
project (usb-drivers VERSION 1.0.0
DESCRIPTION "User space USB drivers" LANGUAGES C)
# Moar warnings

View File

@ -49,10 +49,12 @@ due to protocol changes, although I don't really deem it very probable.
Packages
--------
Regular releases are sporadic. git master should be stable enough.
You can get a package with the latest development version
as a https://git.janouch.name/p/nixexprs[Nix derivation].
Windows binaries can be downloaded from
https://git.janouch.name/p/usb-drivers/releases[the Releases page on Gitea].
Building
--------
Build dependencies:

View File

@ -950,7 +950,7 @@ eizo_watch(struct eizo_monitor *m)
continue;
}
if (r->report_size == 16)
for (size_t i = 0; i < rlen; i += 2)
for (size_t i = 0; i + 1 < rlen; i += 2)
printf(" %04x", peek_u16le(&buf[7 + i]));
else
for (size_t i = 0; i < rlen; i++)