
11 Aug
2021
11 Aug
'21
3:50 a.m.
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 <jtomko@redhat.com> --- tools/vsh.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-)
Reviewed-by: Peter Krempa <pkrempa@redhat.com> There's quite some room for rewriting the code to even avoid the use of temps and string copies though.