Add hardening fix for Self provider to avoid copying bugs

This commit is contained in:
Roman Mogylatov 2021-02-11 09:20:05 -05:00
parent e29040d2ee
commit 980f9fc2bc
2 changed files with 5798 additions and 5784 deletions

File diff suppressed because it is too large Load Diff

View File

@ -474,6 +474,8 @@ cdef class Self(Provider):
return copied
copied = self.__class__()
memo[id(self)] = copied
copied.set_container(deepcopy(self.__container, memo))
copied.set_alt_names(self.__alt_names)