Closed bpasteur closed 11 years ago
An event log file short enough to have only one chunk will fail in the class FileHeader function chunks(). Changing the line: while ofs + 0x10000 < len(self._buf): to: while ofs + 0x10000 <= len(self._buf):
will fix the issue
awesome! thanks for taking the time to report the bug, and also including a fix!
An event log file short enough to have only one chunk will fail in the class FileHeader function chunks(). Changing the line: while ofs + 0x10000 < len(self._buf): to: while ofs + 0x10000 <= len(self._buf):
will fix the issue