aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--efi/udp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/efi/udp.c b/efi/udp.c
index 30a8c777..50085ac9 100644
--- a/efi/udp.c
+++ b/efi/udp.c
@@ -218,6 +218,7 @@ int core_udp_recv(struct pxe_pvt_inode *socket, void *buf, uint16_t *buf_len,
b = udp_reader;
udp = (EFI_UDP4 *)b->this;
+ memset(&token, 0, sizeof(token));
status = efi_setup_event(&token.Event, (EFI_EVENT_NOTIFY)udp4_cb,
&token);