On Tue, Aug 10, 2021 at 19:14:40 +0200, Ján Tomko wrote: > Do not use 'arg' which is later used for an allocated string. > > Signed-off-by: Ján Tomko <jto...@redhat.com> > --- > tools/vsh.c | 7 +++---- > 1 file changed, 3 insertions(+), 4 deletions(-)
Reviewed-by: Peter Krempa <pkre...@redhat.com> There's quite some room for rewriting the code to even avoid the use of temps and string copies though.