[syslinux:master] efi/udp: zero token in recv
syslinux-bot for Gene Cumm
gene.cumm at gmail.com
Fri Jan 31 21:42:08 PST 2014
Commit-ID: 8b66d53cdeba9ee531567165028449c393d71050
Gitweb: http://www.syslinux.org/commit/8b66d53cdeba9ee531567165028449c393d71050
Author: Gene Cumm <gene.cumm at gmail.com>
AuthorDate: Wed, 27 Nov 2013 22:56:02 -0500
Committer: Gene Cumm <gene.cumm at gmail.com>
CommitDate: Wed, 29 Jan 2014 11:55:14 -0500
efi/udp: zero token in recv
Signed-off-by: Gene Cumm <gene.cumm at gmail.com>
---
efi/udp.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/efi/udp.c b/efi/udp.c
index 30a8c77..50085ac 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);
More information about the Syslinux-commits
mailing list