]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: cli: fix "help" crashing since recent spelling fixes
authorWilly Tarreau <w@1wt.eu>
Sat, 13 Mar 2021 11:25:43 +0000 (12:25 +0100)
committerWilly Tarreau <w@1wt.eu>
Sat, 13 Mar 2021 11:25:43 +0000 (12:25 +0100)
commit9c18747823870729fa1dc9c3a77fafe1bc2bfb01
treed4f2495e586af505bebe923c6cfbefe54a6d4ab2
parentacdd47db9d1ba1f1edf48b0e372371c6b2f5bdf4
BUG/MEDIUM: cli: fix "help" crashing since recent spelling fixes

I somehow managed to re-break the "help" command in b736458bf ("MEDIUM:
cli: apply spelling fixes for known commands before listing them")
after fixing it once. A null-deref happens when checking the args
early in the processing.

No backport is needed as this was introduced in 2.4-dev12.
src/cli.c