The upload command invokes lfs_stat() on the destination file which overflows the stack. Adding 256 bytes seems to make it work. Signed-off-by: Peter A. Bigot <pab@pabigot.com>