commit | c511b7cc97482e7193aa19b8e571fa2ac851ea46 | [log] [tgz] |
---|---|---|
author | Aurélien Nephtali <aurelien.nephtali@corp.ovh.com> | Mon Apr 16 18:50:19 2018 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Mon Apr 16 19:22:42 2018 +0200 |
tree | b715f4b1b3159cda6d3a1cceab8cc81939fc10c7 | |
parent | 054fbee67a6e7bc7d396027ecc901f88255302cf [diff] |
BUG/MINOR: cli: Guard against NULL messages when using CLI_ST_PRINT_FREE Some error paths (especially those followed when running out of memory) can set the error message to NULL. In order to avoid a crash, use a generic message ("Out of memory") when this case arises. It should be backported to 1.8. Signed-off-by: Aurélien Nephtali <aurelien.nephtali@corp.ovh.com>