Subject: lib/16444: LIBEDIT: several bugs in the tokenizer module
To: None <gnats-bugs@gnats.netbsd.org>
From: None <yuvale@radware.com>
List: netbsd-bugs
Date: 04/22/2002 09:02:50
>Number: 16444
>Category: lib
>Synopsis: LIBEDIT: several bugs in the tokenizer module
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: lib-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Apr 22 09:03:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator: yuval
>Release:
>Organization:
radware
>Environment:
>Description:
The tokenizer module (tokenizer.c) of the libedit module contains several bugs:
1. Function tok_init:
The memory allocated for tok->ifs and tok->argv is not
correctly freed when an allocation fails.
2. Function tok_line (line 384):
tok->wmax must also be incremented if offs == 0.
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: