On 10/1/2015 4:07 PM, Wolfgang Denk wrote:
Dear Jacob,
In message <560d6de3.8070...@ti.com> you wrote:
Yes. However, the global "net_boot_file_name" is not only used for
BOOTP, but also for NFS and TFTP.
"net_boot_file_name" appears to be temporary storage to supply the file
path to arbitrary protocols from the command line arguments.
I see.
The "file" field in the bootp message is fixed at 128 octets in the
"bootp_hdr" structure.
The contents of "net_boot_file_name" are read or written using the
standard "strncopy()" or the similar "copy_filename()", so there should
be any issue with respect to memory leaks.
I guess you mean there should NOT be any issue?
Yes, sorry. There should not be any issue with respect to memory leaks.
Thank you,
Jacob Stiffler
Best regards,
Wolfgang Denk
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot