MINOR: cli: Ensure the CLI always outputs an error when it should
authorAurélien Nephtali <aurelien.nephtali@corp.ovh.com>
Mon, 16 Apr 2018 17:02:42 +0000 (19:02 +0200)
committerWilly Tarreau <w@1wt.eu>
Mon, 16 Apr 2018 17:23:16 +0000 (19:23 +0200)
commit9a4da683a6a0ce312c7e302245d6e327858d7ee8
treeb16676ca02e9ca8708149e5bcc8eb0acb047b052
parentc511b7cc97482e7193aa19b8e571fa2ac851ea46
MINOR: cli: Ensure the CLI always outputs an error when it should

When using the CLI_ST_PRINT_FREE state, always output something back
if the faulty function did not fill the 'err' variable.
The map/acl code could lead to a crash whereas the SSL code was silently
failing.

Signed-off-by: Aurélien Nephtali <aurelien.nephtali@corp.ovh.com>
src/map.c
src/ssl_sock.c