[U-Boot-Users] patch to tftp.c

Wolfgang Denk wd at denx.de
Tue Feb 24 02:04:40 CET 2004


In message <20040221004708.01cbfbda.fryman at cc.gatech.edu> you wrote:
> 
> this patch for "tftp.c" fixes a logical error in the prior implementation
> supporting direct-tftp-to-flash.  this puts in some additional safety 
> checks to make sure you don't cross a flash boundary during the course of
> a write.  
> 
> this will catch such actions before starting, and complain verbosely about
> what the actual problem is.

How can you know that in advance? There is no indication how big  the
file will become.

I don't really see which problem you are trying  to  fix  (especially
since  downloading  directlty  to  flash  is  inherently insecure and
discouraged).

There is again no CHANGELOG entry.

Again there is violation of coding standards (trailing  white  space;
brace style).

Rejected.


Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
What can it profit a man to gain the whole world and to come  to  his
property with a gastric ulcer, a blown prostate, and bifocals?
                                     -- John Steinbeck, _Cannery Row_




More information about the U-Boot mailing list