search for: opdata

Displaying 5 results from an estimated 5 matches for "opdata".

Did you mean: pdata
2013 Dec 01
0
[PATCH] core: Bad read of file size over TFTP
...uf[PKTBUF_SIZE]; - const struct tftp_options *tftp_opt; - int i = 0; int err; int buffersize; int rrq_len; @@ -219,7 +202,7 @@ void tftp_open(struct url_info *url, int flags, struct inode *inode, jiffies_t oldtime; uint16_t opcode; uint16_t blk_num; - uint32_t opdata, *opdata_ptr; + uint64_t opdata; uint16_t src_port; uint32_t src_ip; @@ -381,22 +364,6 @@ wait_pkt: if (!buffersize) break; /* No option data */ - /* - * Parse option pointed to by options; guaranteed to be - * null-terminated - */...
2015 Jan 15
0
PXE Error Reporting
...OENT; + if (!errno) + errno = ENOENT; return -1; } diff --git a/core/fs/pxe/tftp.c b/core/fs/pxe/tftp.c index 446da63..c89d3bf 100644 --- a/core/fs/pxe/tftp.c +++ b/core/fs/pxe/tftp.c @@ -205,6 +205,7 @@ void tftp_open(struct url_info *url, int flags, struct inode *inode, uint64_t opdata; uint16_t src_port; uint32_t src_ip; + uint16_t error_code; (void)redir; /* TFTP does not redirect */ (void)flags; @@ -280,6 +281,16 @@ wait_pkt: switch (opcode) { case TFTP_ERROR: inode->size = 0; + error_code = *(uint16_t *)(reply_packet_buf...
2015 Jan 15
3
PXE Error Reporting
Sebastian, On 01/15/2015 12:49 AM, Sebastian Herbszt wrote: > which version of pxelinux were you trying? Looks like < 5.x. the one from Fedora 20, syslinux-4.05. It turns out that pxelinux.0 from Fedora 21, syslinux-6.03, reports "Failed to load ldlinux.c32" when ldlinux.c32 can't be read, and "Loading <FILE>... failed: No such file or directory" when the
2003 Mar 30
0
why do file locks revert to root ( fairly long)
...9 RDONLY EXCLUSIVE+BATCH /apps/Lacerte/02tax/ind/usoutput.i02 Sat Mar 29 18:01:46 2003 4320 DENY_NONE 0x20089 RDONLY EXCLUSIVE+BATCH /apps/Lacerte/02tax/OPTION02/OPT019.W2 Sat Mar 29 18:01:45 2003 4320 DENY_NONE 0x20089 RDONLY NONE /apps/Lacerte/02tax/opdata.w2 Fri Mar 28 17:37:05 2003 4320 DENY_ALL 0x2019f RDWR NONE /apps/Lacerte/02tax/OPTION02/SID019A.w2 Fri Mar 28 17:37:05 2003 4320 DENY_WRITE 0x20 RDONLY NONE /apps/Lacerte/02tax/engine02.dll Fri Mar 28 17:37:07 2003 4320 DENY_NONE 0x2019f...
2017 May 31
6
[PATCH 1/4] efi/udp: core_udp_connect should use SubnetMask not StationAddress for netmask
Signed-off-by: Julien Viard de Galbert <jviarddegalbert at online.net> --- efi/udp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/efi/udp.c b/efi/udp.c index 1088f47..b0f13ad 100644 --- a/efi/udp.c +++ b/efi/udp.c @@ -163,7 +163,7 @@ void core_udp_connect(struct pxe_pvt_inode *socket, uint32_t ip, } else { udata.UseDefaultAddress = FALSE;