Skip to content

Commit

Permalink
exceptionstream fix
Browse files Browse the repository at this point in the history
  • Loading branch information
SkelSec committed Apr 7, 2024
1 parent 04113f5 commit a5f200f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion minidump/streams/ExceptionStream.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ def parse(buff):
me.ExceptionAddress = int.from_bytes(buff.read(8), byteorder = 'little', signed = False)
me.NumberParameters = int.from_bytes(buff.read(4), byteorder = 'little', signed = False)
me.__unusedAlignment = int.from_bytes(buff.read(4), byteorder = 'little', signed = False)
for _ in range(self.EXCEPTION_MAXIMUM_PARAMETERS):
for _ in range(MINIDUMP_EXCEPTION.EXCEPTION_MAXIMUM_PARAMETERS):
me.ExceptionInformation.append(int.from_bytes(buff.read(8), byteorder = 'little', signed = False))

me.ExceptionInformation = me.ExceptionInformation[:me.NumberParameters]
Expand Down

0 comments on commit a5f200f

Please sign in to comment.