PR 30310
  * nfp-dis.c (init_nfp6000_priv): Check that the output section exists.
+2023-04-11  Nick Clifton  <nickc@redhat.com>
+
+       PR 30310
+       * nfp-dis.c (init_nfp6000_priv): Check that the output section
+       exists.
+
 2023-03-15  Nick Clifton  <nickc@redhat.com>
 
        PR 30231
 
 
   memset (mecfg_orders, -1, sizeof (mecfg_orders));
 
-  if (!dinfo->section)
+  if (dinfo->section == NULL
+      || dinfo->section->owner == NULL
+      || elf_elfsections (dinfo->section->owner) == NULL)
     /* No section info, will use default values.  */
     return true;