Avoid undefined behavior with memcpy PMK/PSK update
When SAE is used, the local pointer pmk may point to sm->PMK. Skip the memcpy operation in such a case since it is not really needed and use of overlapping memory buffers is undefined behavior for memcpy(). Signed-off-by: Jouni Malinen <jouni@codeaurora.org>master
parent
c643c39287
commit
a9fed5f5b5
Loading…
Reference in New Issue