fix fw_setenv with uninitialised environment
PATCH 1/1 fix fw_setenv with uninitialised environment
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 <[email protected]>, 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.
Signature · 19 lines
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
PATCH 1/1 fix fw_setenv with uninitialised environment
Quoted 3 lines · In message <2553.1121387122@gerd> you wrote:
* Patch by Murray Jensen <[email protected]>, July 15, 2005:
- fix array overflow withfw_setenvon uninitialised environment
Added, thanks.
Best regards,
Wolfgang Denk
Signature · 6 lines
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Alan Turing thought about criteria to settle the question of whether
machines can think, a question of which we now know that it is about
as relevant as the question of whether submarines can swim.
-- Edsger Dijkstra