> Thanks, that patch looks very reasonable. Let me know what you find out regarding the > other issue.
Fortunately, this one is trivial:
Code:
Index: src/lib/util/chd.c =================================================================== --- src/lib/util/chd.c (revision 15463) +++ src/lib/util/chd.c (working copy) @@ -1788,6 +1788,7 @@ compressed[12] = lengthbits; compressed[13] = selfbits; compressed[14] = parentbits; + compressed[15] = 0; // write the result m_mapoffset = file_append(compressed, complen + 16);
|