search for: tftp_opts

Displaying 3 results from an estimated 3 matches for "tftp_opts".

Did you mean: tftp_opt
2009 Aug 08
2
[PATCH] pxe: fix OACK packet handling
...* found no final null */ + /* * Parse option pointed to by options; guaranteed to be null-terminated */ @@ -944,8 +940,10 @@ static void pxe_searchdir(char *filename, struct file *file) do { tftp_opt = tftp_options; for (i = 0; i < tftp_opts; i++) { - if (!strncmp(p, tftp_opt->str_ptr,tftp_opt->str_len)) + if (!strncmp(p, tftp_opt->str_ptr,tftp_opt->str_len)) { + buffersize -= tftp_opt->str_len; break; + } tftp_opt++;...
2009 Aug 08
0
[PATCH] core:PXELINUX: fix the OACK option parsing bug.
...ffersize) + goto done; /* found no final null */ + } + + /* + * Parse option pointed to by options; guaranteed to be null-terminated + */ + p = options; tftp_opt = tftp_options; for (i = 0; i < tftp_opts; i++) { if (!strncmp(p, tftp_opt->str_ptr,tftp_opt->str_len)) -- 1.5.6.rc0 -- regards liu Aleaxander
2013 Dec 01
0
[PATCH] core: Bad read of file size over TFTP
A fancy pointers logic has been replaced with a plain old if / else branches. It was assigning only half of a 64 bits integer which is then assigned to a size_t. Thus leading to a bug on platform where size_t is 64 bits. Resolves bug #26 Signed-off-by: Celelibi <celelibi at gmail.com> --- Not sure if genec already issued a pull request for this patch or not. Anyway, here it is as