Properly check for an out of range row index
[deliverable/binutils-gdb.git] / binutils / dwarf.c
index d744929c02d79cb363b9261d62659434395b4b2a..7cfc45f3f1262d1f2a681085e2c9bb684fb9a177 100644 (file)
@@ -6825,7 +6825,7 @@ process_cu_tu_index (struct dwarf_section *section, int do_display)
          if (row != 0)
            {
              /* PR 17531: file: a05f6ab3.  */
-             if (row >= nused)
+             if (row > nused)
                {
                  warn (_("Row index (%u) is larger than number of used entries (%u)\n"),
                        row, nused);
This page took 0.023712 seconds and 4 git commands to generate.