From 81bfe4bd3314661605bfe8cede9bddcae7378078 Mon Sep 17 00:00:00 2001 From: morkt Date: Tue, 26 Dec 2017 19:55:41 +0400 Subject: [PATCH] (G00): increased entries limit. --- ArcFormats/RealLive/ArcG00.cs | 2 +- ArcFormats/RealLive/ImageG00.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ArcFormats/RealLive/ArcG00.cs b/ArcFormats/RealLive/ArcG00.cs index 0ab02113..79cfc470 100644 --- a/ArcFormats/RealLive/ArcG00.cs +++ b/ArcFormats/RealLive/ArcG00.cs @@ -77,7 +77,7 @@ namespace GameRes.Formats.RealLive if (0 == width || width > 0x8000 || 0 == height || height > 0x8000) return null; int count = file.View.ReadInt16 (5); - if (count <= 1 || count > 0x100) + if (count <= 1 || count > 0x1000) return null; var base_name = Path.GetFileNameWithoutExtension (file.Name); diff --git a/ArcFormats/RealLive/ImageG00.cs b/ArcFormats/RealLive/ImageG00.cs index 0ba66bd9..fdc6eaad 100644 --- a/ArcFormats/RealLive/ImageG00.cs +++ b/ArcFormats/RealLive/ImageG00.cs @@ -58,7 +58,7 @@ namespace GameRes.Formats.RealLive if (2 == type) { int count = file.ReadInt32(); - if (count <= 0 || count > 0x100) + if (count <= 0 || count > 0x1000) return null; } else