]> git.ipfire.org Git - thirdparty/hostap.git/commit
EAP-AKA: Use strdup instead of strlen + malloc + memcpy
authorJouni Malinen <j@w1.fi>
Sun, 27 Nov 2011 20:45:01 +0000 (22:45 +0200)
committerJouni Malinen <j@w1.fi>
Sun, 27 Nov 2011 20:45:01 +0000 (22:45 +0200)
commit363ab4406725260c308d8cccfab13e5989362e84
tree8c2b30e3aa813f34623a96e7ab580e88debe8c2b
parent0ac6c3f71a160964d1053288a3aa8fecfb488346
EAP-AKA: Use strdup instead of strlen + malloc + memcpy

While the copy is not used as a null terminated string, this can prevent
some static analyzers from complaining about non-issue.

Signed-hostap: Jouni Malinen <j@w1.fi>
src/eap_server/eap_server_aka.c