Language: Python
Label: vulnerable
CWE: CWE-125 \u2014 Out-of-bounds Read
The product reads data past the end, or before the beginning, of the intended buffer.

Code:
  def testSnapshotRecoveryFailsWithOutOfOrderSplitName(self):
    cluster, _ = self.setup()
    write_file(os.path.join(self.source_dir(), "split_1_0"))
    with self.assertRaisesRegex(ValueError, "found conflict"):
      cluster.restart_dispatcher()