bugfix: IpmbSensor: out of bounds check

data[4] is out of bounds if data.size() == 4.

Signed-off-by: Patrick Venture <venture@google.com>
Change-Id: Ie14aaed9fe0930baf3e9239632b597ae56cc77a1
diff --git a/src/IpmbSensor.cpp b/src/IpmbSensor.cpp
index cb7b705..459599d 100644
--- a/src/IpmbSensor.cpp
+++ b/src/IpmbSensor.cpp
@@ -279,7 +279,7 @@
                 else if (type == IpmbType::PXE1410CVR ||
                          type == IpmbType::IR38363VR)
                 {
-                    if (data.size() < 4)
+                    if (data.size() < 5)
                     {
                         if (firstError)
                         {