BUG/MEDIUM: cli: fix "show fd" crash when dumping closed FDs
authorWilly Tarreau <w@1wt.eu>
Wed, 4 Oct 2017 18:24:54 +0000 (20:24 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 4 Oct 2017 18:28:26 +0000 (20:28 +0200)
commit017af2477eb478e95b2e2e09e3daffaf34979f2d
treea02424ae69b699c8e5645acb2a58894de318a6b9
parent00149121b78c42963a5924fda0fa94d7ddb27957
BUG/MEDIUM: cli: fix "show fd" crash when dumping closed FDs

I misplaced the "if (!fdt.owner)" test so it can occasionally crash
when dumping an fd that's already been closed but still appears in
the table. It's not critical since this was not pushed into any
release nor backported though.
src/cli.c