Displaying 2 results from an estimated 2 matches for "err_reply".
Did you mean:
dsr_reply
2013 Dec 01
0
[PATCH] core: Bad read of file size over TFTP
...rminated
- */
- tftp_opt = tftp_options;
- for (i = 0; i < tftp_nopts; i++) {
- if (!strcmp(opt, tftp_opt->str_ptr))
- break;
- tftp_opt++;
- }
- if (i == tftp_nopts)
- goto err_reply; /* Non-negotitated option returned,
- no idea what it means ...*/
-
- /* get the address of the filed that we want to write on */
- opdata_ptr = (uint32_t *)((char *)inode + tftp_opt->offset);
opdata = 0;
/* do convert a number-string to decimal...
2009 Aug 08
2
[PATCH] pxe: fix OACK packet handling
...ber, just like atoi */
while (buffersize--) {
- if (*p == 0)
+ if (*p == 0) {
+ p++;
break; /* found a final null */
+ }
if (*p > '9')
goto err_reply; /* Not a decimal digit */
*data_ptr = *data_ptr * 10 + *p++ - '0';