commit | 13c1a01de6aa71acdaa831ae2f018439b58fc42c | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Mon Jun 29 14:23:31 2020 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Mon Jun 29 14:26:05 2020 +0200 |
tree | b520d34f23f786d387836494ac24cda729470dcd | |
parent | 20dc3cd4a60d7b1895d8cca954a00da71b1dca3e [diff] |
BUG/MINOR: debug: fix "show fd" null-deref when built with DEBUG_FD DEBUG_FD was added by commit 38e8a1c in 2.2-dev, and "show fd" was slightly modified to still allow to print orphaned/closed FDs if their count is non-null. But bypassing the existing test made it possible to dereference fdt.owner which can be null. Let's adjust the condition to avoid this. No backport is needed.