aboutsummaryrefslogtreecommitdiffstats
path: root/efi/udp.c
diff options
context:
space:
mode:
authorGene Cumm <gene.cumm@gmail.com>2013-11-27 22:56:02 -0500
committerGene Cumm <gene.cumm@gmail.com>2014-01-29 11:55:14 -0500
commit8b66d53cdeba9ee531567165028449c393d71050 (patch)
tree105090a16bb4c695352f4fceda012428e8f9d873 /efi/udp.c
parent5bf9bdcf0b2e3b4b9161c55713d8004ce6924900 (diff)
downloadsyslinux-8b66d53cdeba9ee531567165028449c393d71050.tar.gz
syslinux-8b66d53cdeba9ee531567165028449c393d71050.tar.xz
syslinux-8b66d53cdeba9ee531567165028449c393d71050.zip
efi/udp: zero token in recv
Signed-off-by: Gene Cumm <gene.cumm@gmail.com>
Diffstat (limited to 'efi/udp.c')
-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);