]> git.ipfire.org Git - thirdparty/hostap.git/commit
eloop: Fix allocation failure handling in poll() version
authorJouni Malinen <j@w1.fi>
Sun, 12 Feb 2012 19:33:42 +0000 (21:33 +0200)
committerJouni Malinen <j@w1.fi>
Sun, 12 Feb 2012 19:33:42 +0000 (21:33 +0200)
commit2624ed43117302cd97778f2f7e4c9fc8e7adf2e2
tree15f208848f6f924678435d6b25721a44cc907611
parente640888c5e6a9931c6785648714da4dffe48ab52
eloop: Fix allocation failure handling in poll() version

eloop_sock_table_add_sock() needs to fail if pollfd array allocation
fails instead of returning success and leaving behind no buffer.

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