fw_printenv: Fix crash due to incorrect size for malloc'ed string.
Using sizeof gives the size of the pointer only, not the string. This
could easily lead to crashes when using -l argument.
Signed-off-by:
Kristian Amlie <kristian.amlie@northern.tech>
Loading
Please register or sign in to comment