dparrish / libcli

Libcli provides a shared library for including a Cisco-like command-line interface into other software. It's a telnet interface which supports command-line editing, history, authentication and callbacks for a user-definable function tree.
https://dparrish.com/link/libcli
GNU Lesser General Public License v2.1
289 stars 143 forks source link

memory leak in _printf? #77

Open qiupin opened 2 years ago

qiupin commented 2 years ago

n = vasprintf(&p, format, ap);

p is leak in _printf in libcli.c.