commit | 295da64b1743e98b4b6a17f96687bd38460f6211 | [log] [tgz] |
---|---|---|
author | Horst Kronstorfer <hkronsto@frequentis.com> | Fri Dec 16 23:33:10 2011 +0000 |
committer | Wolfgang Denk <wd@denx.de> | Mon Dec 19 10:19:34 2011 +0100 |
tree | 60eafe94864819dc8848c94074ce00b2c4942d37 | |
parent | 787fb37e632c9b93ed4bd92e81aa3f267746efd4 [diff] |
common/cmd_nvedit.c: Fix size calculation in do_env_import() do_env_import() missed the final '\0' terminator when calculating the size of an environment data block. This led to an erroneous 'bad CRC, import failed' message for a checksum protected environment (-c.) Signed-off-by: Horst Kronstorfer <hkronsto@frequentis.com>