Skip to content

Commit

Permalink
information: fix batadv length check
Browse files Browse the repository at this point in the history
  • Loading branch information
blocktrron committed Apr 6, 2024
1 parent 7b2473f commit f7c8c38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/information.c
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ int node_whisperer_information_batman_adv_collect(uint8_t *buffer, size_t buffer
uint16_t num_clients;
int ret;

if (buffer_size < 3) {
if (buffer_size < 8) {
return -1;
}

Expand Down

0 comments on commit f7c8c38

Please sign in to comment.