aboutsummaryrefslogtreecommitdiffstats
path: root/src/utils/eloop_win.c
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2012-08-13 18:20:09 (GMT)
committerJouni Malinen <j@w1.fi>2012-08-13 18:20:09 (GMT)
commitb0cda9bd4662b6cfa0684b933fb9a12a84642e11 (patch)
tree33af8d75a11da992a0afe5f7b02800ae68c006fd /src/utils/eloop_win.c
parentf9884c096ac3560a760b0893813ae2c3692b2b16 (diff)
downloadhostap-b0cda9bd4662b6cfa0684b933fb9a12a84642e11.zip
hostap-b0cda9bd4662b6cfa0684b933fb9a12a84642e11.tar.gz
hostap-b0cda9bd4662b6cfa0684b933fb9a12a84642e11.tar.bz2
Add os_realloc_array() wrapper
This function can be used as a wrapper for os_realloc(ptr, nmemb * size) when a reallocation is used for an array. The main benefit over os_realloc() is in having an extra check to catch integer overflows in multiplication. This is similar to the os_zalloc() to os_calloc() move. Signed-hostap: Jouni Malinen <j@w1.fi>
Diffstat (limited to 'src/utils/eloop_win.c')
0 files changed, 0 insertions, 0 deletions