Skip to content

Instantly share code, notes, and snippets.

@zdi-team
Created June 10, 2022 17:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zdi-team/da8616bb11169b6b038e4363015a1564 to your computer and use it in GitHub Desktop.
Save zdi-team/da8616bb11169b6b038e4363015a1564 to your computer and use it in GitHub Desktop.
if (sp->meshid != NULL && sp->meshid[1] != 0)
// This can overwrite ‘se_ies’
memcpy(ise->se_meshid, sp->meshid, 2+sp->meshid[1]);
// [...]
// This uses ‘se_ies’ as first argument
(void) ieee80211_ies_init(&ise->se_ies, sp->ies, sp->ies_len);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment