On Tue, Aug 10, 2021 at 19:14:39 +0200, Ján Tomko wrote: > Instead of using the same variable to store either a const pointer > or an allocated string, always make a copy. > > Signed-off-by: Ján Tomko <jtomko@xxxxxxxxxx> > --- > tools/vsh.c | 11 ++++++----- > 1 file changed, 6 insertions(+), 5 deletions(-) Reviewed-by: Peter Krempa <pkrempa@xxxxxxxxxx>