diff --git a/hecl/extern/boo b/hecl/extern/boo index f0e8e0a1f..65f830206 160000 --- a/hecl/extern/boo +++ b/hecl/extern/boo @@ -1 +1 @@ -Subproject commit f0e8e0a1fac69a7a3e67ced0dc80915701ff1183 +Subproject commit 65f8302060b8e3992d0924bd065020df590ca12f diff --git a/hecl/lib/Blender/BlenderConnection.cpp b/hecl/lib/Blender/BlenderConnection.cpp index 7b1923b23..84d60f2b5 100644 --- a/hecl/lib/Blender/BlenderConnection.cpp +++ b/hecl/lib/Blender/BlenderConnection.cpp @@ -107,11 +107,13 @@ uint32_t BlenderConnection::_readStr(char* buf, uint32_t bufSz) return 0; } else if (readLen >= 4) + { if (!memcmp(buf, "EXCEPTION", std::min(readLen, uint32_t(9)))) { _blenderDied(); return 0; } + } *(buf+readLen) = '\0'; return readLen;