Use os_strdup() instead of os_malloc() + os_memcpy()
It is simpler to use os_strdup() to copy strings even if the end results end up being used as binary data with a separate length field. Signed-hostap: Jouni Malinen <j@w1.fi>master
parent
09ad3bb4d4
commit
6e4598755b
Loading…
Reference in New Issue