]> git.ipfire.org Git - thirdparty/hostap.git/commit
WNM: Skip os_memcpy in wnmtfs_ie is NULL
authorJouni Malinen <j@w1.fi>
Sun, 16 Dec 2012 17:48:39 +0000 (19:48 +0200)
committerJouni Malinen <j@w1.fi>
Sun, 16 Dec 2012 17:48:39 +0000 (19:48 +0200)
commita8e93a1a01c36181a93109e955d465ccd9608ecb
treefb49d99c7adf4982efec80c44a7a3f089643b597
parent835822d404c507d1bad223d87eae24d0ff634918
WNM: Skip os_memcpy in wnmtfs_ie is NULL

It is cleaner to skip the memcpy call instead of trusting on the
length parameter being 0 in this case.

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