]> git.ipfire.org Git - thirdparty/hostap.git/commit
Avoid 0-length memmove from buffer end to keep static analyzers happier
authorJouni Malinen <j@w1.fi>
Thu, 17 Nov 2011 17:54:26 +0000 (19:54 +0200)
committerJouni Malinen <j@w1.fi>
Thu, 17 Nov 2011 17:54:26 +0000 (19:54 +0200)
commitbfbc4284a8fe0307c29336b5ed252163d8f0892d
treeefe904d7346392e9f7b872be05e648b57c895d78
parent2bb747e2321e4dbd452c34a1e2c4160d884f115f
Avoid 0-length memmove from buffer end to keep static analyzers happier

This avoid incorrect errors from some static analyzers that do not like
memmove with pointers just after the end of a buffer even if the number
of bytes to move is zero.

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