@@ -1,3 +1,8 @@
+2004-06-03 Jackson Harper <[email protected]>
+
+ * PEAPI.cs: Do not null terminate byte arrays when writing to the
+ blob stream.
2004-05-25 Jackson Harper <[email protected]>
* PEAPI.cs: When writing to the blob heap we always set a size.
@@ -4982,9 +4982,8 @@ if (rsrc != null)
if (val == null) {
index = size;
btable [str] = index;
- if (prependSize) CompressNum ((uint) str.Length+1);
+ if (prependSize) CompressNum ((uint) str.Length);
Write (str);
- Write ((byte) 0);
size = (uint) Seek (0, SeekOrigin.Current);
} else {
index = (uint) val;