@Test
    void testUncaughtExceptionOssFuzz34185() throws IOException {
        final File file = TestResources.resourceToFile("/images/gif/IMAGING-318/clusterfuzz-testcase-minimized-ImagingGifFuzzer-5005192379629568");
        final GifImageParser parser = new GifImageParser();
        assertThrows(ImagingException.class, () -> parser.getBufferedImage(ByteSource.file(file), new GifImagingParameters()));
    }
Test that invalid indexes are validated when accessing GIF color table array.

<p>
See Google OSS Fuzz issue 34185
</p>

@throws IOException if it fails to read the test image
src/test/java/org/apache/commons/imaging/formats/gif/GifReadTest.java