[U-Boot-Users] [PATCH] fix fw_setenv with uninitialised environment

Murray.Jensen at csiro.au Murray.Jensen at csiro.au
Fri Jul 15 02:25:22 CEST 2005


In tools/env/fw_env.c when the environment is uninitialised, and the
default_environment[] array is used instead, if a setenv is done there
is a good chance that the array bounds will be exceeded. Cheers!
								Murray...

CHANGELOG entry:

* Patch by Murray Jensen <Murray.Jensen at csiro.au>, July 15, 2005:
  - fix array overflow with fw_setenv on uninitialised environment

Copyright:

This patch is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
Foundation; either version 2 of the License, or (at your option) any later
version.
-- 
Murray Jensen, CSIRO Manufacturing & Infra. Tech.      Phone: +61 3 9662 7763
Locked Bag No. 9, Preston, Vic, 3072, Australia.         Fax: +61 3 9662 7853
Internet: Murray.Jensen at csiro.au

To the extent permitted by law, CSIRO does not represent, warrant and/or
guarantee that the integrity of this communication has been maintained or
that the communication is free of errors, virus, interception or interference.

The information contained in this e-mail may be confidential or privileged.
Any unauthorised use or disclosure is prohibited. If you have received this
e-mail in error, please delete it immediately and notify Murray Jensen on
+61 3 9662 7763. Thank you.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/x-gzip
Size: 401 bytes
Desc: tools-fw_env-fix.patch.gz
Url : http://lists.denx.de/pipermail/u-boot/attachments/20050715/57f9c2da/attachment.bin 


More information about the U-Boot mailing list