You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
kws_raw_read block param value less than 10 will cause func alway return -1
because
int block_n = block / 10; //block_n will be 0
...
kws->x++; //x will be at least 1
...
if (kws->x >= 10000 || (block && kws->x >= block_n)) { //so this will alway true and return -1
The text was updated successfully, but these errors were encountered:
libks/src/kws.c
Line 405 in dcddb83
kws_raw_read block param value less than 10 will cause func alway return -1
because
The text was updated successfully, but these errors were encountered: