We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 53656dd commit f46b3b2Copy full SHA for f46b3b2
src/igvm/igvmfile.py
@@ -384,7 +384,7 @@ def update_crc32_checksum(self):
384
# IGVM parser assumes the header is aligned by 8
385
aligned_size = ((size + 7) >> 3) << 3
386
out.extend(bytes(h))
387
- out.extend(b'0'*(aligned_size-size))
+ out.extend(b'\x00'*(aligned_size-size))
388
389
self.headers[0].Checksum = zlib.crc32(out)
390
@@ -400,7 +400,7 @@ def marshal(self) -> bytes:
400
#IGVM parser assumes the header is aligned by 8
401
402
403
404
return out
405
406
@staticmethod
0 commit comments