Blame SOURCES/0008-Correct-a-potential-out-of-bounds-problem.patch

b5c349
From 228ae77a4f5308326b597f0c883ddb61545a8014 Mon Sep 17 00:00:00 2001
b5c349
From: Stephan Bergmann <sbergman@redhat.com>
b5c349
Date: Thu, 24 Apr 2014 11:58:13 +0200
b5c349
Subject: [PATCH 8/8] Correct a potential out-of-bounds problem...
b5c349
b5c349
---
b5c349
 src/lib/MSKGraph.cxx | 2 +-
b5c349
 1 file changed, 1 insertion(+), 1 deletion(-)
b5c349
b5c349
diff --git a/src/lib/MSKGraph.cxx b/src/lib/MSKGraph.cxx
b5c349
index 7c1a9f6..f32d7c6 100644
b5c349
--- a/src/lib/MSKGraph.cxx
b5c349
+++ b/src/lib/MSKGraph.cxx
b5c349
@@ -728,7 +728,7 @@ void State::initPatterns(int vers)
b5c349
     0x55ff, 0x55ff, 0x55ff, 0x55ff,  0x55ff, 0xeeff, 0x55ff, 0xbbff,  0x77ff, 0xddff, 0x77ff, 0xddff,  0x7fff, 0xf7ff, 0x7fff, 0xf7ff,
b5c349
     0x7fff, 0xffff, 0xf7ff, 0xffff,  0xffff, 0xffff, 0xffff, 0xffff
b5c349
   };
b5c349
-  m_rsrcPatternsMap.insert(std::map<long, Patterns>::value_type(4003,Patterns(28, values4003)));
b5c349
+  m_rsrcPatternsMap.insert(std::map<long, Patterns>::value_type(4003,Patterns(22, values4003)));
b5c349
   static uint16_t const (values4004[]) = {
b5c349
     0xf0f0, 0xf0f0, 0x0f0f, 0x0f0f,  0xcccc, 0x3333, 0xcccc, 0x3333,  0x3333, 0xcccc, 0x3333, 0xcccc
b5c349
   };
b5c349
-- 
b5c349
1.9.0
b5c349