Add log warning if SegmentationFault caused by dereferencing invalid pointer is silenced when strict_pointer_mode is turned off.
This commit is contained in:
parent
cd42417c37
commit
db26a0aaf1
@ -421,6 +421,11 @@ class BlendFile:
|
|||||||
raise exceptions.SegmentationFault(
|
raise exceptions.SegmentationFault(
|
||||||
"address does not exist", address
|
"address does not exist", address
|
||||||
) from None
|
) from None
|
||||||
|
log.warning(
|
||||||
|
"Silenced SegmentationFault caused by dereferencing invalid pointer"
|
||||||
|
" (0x%x) because strict_pointer_mode is off.",
|
||||||
|
address,
|
||||||
|
)
|
||||||
return None
|
return None
|
||||||
|
|
||||||
def struct(self, name: bytes) -> dna.Struct:
|
def struct(self, name: bytes) -> dna.Struct:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user