mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 05:43:48 -07:00
assert its smaller than 5
This commit is contained in:
parent
c50f109f05
commit
3502da17df
1 changed files with 1 additions and 0 deletions
|
@ -186,6 +186,7 @@ static int stream_get(stream_t *stream, json_error_t *error) {
|
|||
// whatif count == 1 ?!?
|
||||
|
||||
assert(count >= 2);
|
||||
assert(count <= 4);
|
||||
|
||||
// if count == 4 , i will become 5 and overflow.
|
||||
for (i = 1; i < count; i++)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue