]> git.ipfire.org Git - thirdparty/hostap.git/commit
Use os_strdup() instead of os_malloc() + os_memcpy()
authorJouni Malinen <j@w1.fi>
Sun, 19 Aug 2012 15:50:42 +0000 (18:50 +0300)
committerJouni Malinen <j@w1.fi>
Sun, 19 Aug 2012 15:50:42 +0000 (18:50 +0300)
commit6e4598755be9aebdc0f8feeaee09450180e51e97
tree3dc1d6105228ca6f2a435e8c4f5b2dd64834b2e2
parent09ad3bb4d409adc7ceca88d2ad8c35b0057b5f87
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>
hostapd/config_file.c