public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] patch to tftp.c
@ 2004-02-21  5:47 Josh Fryman
  2004-02-24  1:04 ` Wolfgang Denk
  0 siblings, 1 reply; 2+ messages in thread
From: Josh Fryman @ 2004-02-21  5:47 UTC (permalink / raw)
  To: u-boot


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.

-josh
-------------- next part --------------
A non-text attachment was scrubbed...
Name: diff.H
Type: application/octet-stream
Size: 2935 bytes
Desc: not available
Url : http://lists.denx.de/pipermail/u-boot/attachments/20040221/3c80d547/attachment.obj 

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [U-Boot-Users] patch to tftp.c
  2004-02-21  5:47 [U-Boot-Users] patch to tftp.c Josh Fryman
@ 2004-02-24  1:04 ` Wolfgang Denk
  0 siblings, 0 replies; 2+ messages in thread
From: Wolfgang Denk @ 2004-02-24  1:04 UTC (permalink / raw)
  To: u-boot

In message <20040221004708.01cbfbda.fryman@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_

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-02-24  1:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-02-21  5:47 [U-Boot-Users] patch to tftp.c Josh Fryman
2004-02-24  1:04 ` Wolfgang Denk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox