diff options
author | Marc <foxtrot@malloc.me> | 2022-01-09 16:00:19 +0000 |
---|---|---|
committer | Marc <foxtrot@malloc.me> | 2022-01-09 16:00:19 +0000 |
commit | 1d9f81ab8641c5fb1f46d16081c8b320998c70ec (patch) | |
tree | 0b131b4310ccde74d53ad07b6897c32454a640ba /test | |
parent | 0bd924735125b34b74c893936b89cfae02e3379d (diff) | |
download | libwifi-1d9f81ab8641c5fb1f46d16081c8b320998c70ec.tar.gz libwifi-1d9f81ab8641c5fb1f46d16081c8b320998c70ec.tar.bz2 libwifi-1d9f81ab8641c5fb1f46d16081c8b320998c70ec.zip |
core: Fix tag_iterator failure on empty tags.
This code used to be `< 0`, but was changed to `<= 0` in commit d40ddfe. Thinking more about this, it's a bad idea to abort on 0 length tags, since it's completely valid for some tags (such as SSID) to be empty. It doesn't make sense to check if `tag_len` is below 0, because it's unsigned. So, remove the check completely.
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions