Skip to content
Snippets Groups Projects
Commit d3f80c77 authored by Horst Kronstorfer's avatar Horst Kronstorfer Committed by Wolfgang Denk
Browse files

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: default avatarHorst Kronstorfer <hkronsto@frequentis.com>
parent a7b39185
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment