diff --git a/src/lib/commands/xdump.c b/src/lib/commands/xdump.c index d0d3c9a1..4c7170f4 100644 --- a/src/lib/commands/xdump.c +++ b/src/lib/commands/xdump.c @@ -253,6 +253,9 @@ xdmeta(int type) xdhdr(ef_nameof(type), mdchr_ca, 1); + if (!ca) + return RET_SYN; + for (i = 0; ca[i].ca_name; i++) { xdflds(mdchr_ca, &ca[i]); pr("\n");