Index: ImfStringVectorAttribute.cpp =================================================================== --- ImfStringVectorAttribute.cpp (revision 51) +++ ImfStringVectorAttribute.cpp (working copy) @@ -81,13 +81,15 @@ { int strSize; Xdr::read (is, strSize); - read += Xdr::size(); + read += Xdr::size(); std::string str; str.resize (strSize); - + if(0 != strSize) + { Xdr::read (is, &str[0], strSize); read += strSize; + } _value.push_back (str); }