<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto">Simple: <div>• create a weak reference to said bigInt</div><div>• remove last hard reference</div><div>• call gc</div><div>• verify that weak reference points to reclaimed object </div><div>;)</div><div>You will have to do that one step down the stack, though <br><br><div dir="ltr">Von meinem iPhone gesendet</div><div dir="ltr"><br><blockquote type="cite">Am 24.03.2020 um 09:39 schrieb Marcel Taeumel <marcel.taeumel@hpi.de>:<br><br></blockquote></div><blockquote type="cite"><div dir="ltr"><div id="__MailbirdStyleContent" style="font-size: 10pt;font-family: Arial;color: #000000">Hi, there.<div class="mb_sig"></div><div><br></div><div>I just wanted to save a 32-bit image (Update 19541, VM 202003021730, Windows 10) under a new filename.</div><div><br></div><div>Boom! ModificationForbidden!</div><div><br></div><div>Here is the interesting stack:</div><div><br></div><div><div>Context>>modificationForbiddenFor:at:put:</div><div>LargePositiveInteger(Object)>>basicAt:put:</div><div><b>SecurityManager>>flushSecurityKey:</b></div><div>SecurityManager>>flushSecurityKeys</div><div>SecurityManager>>shutDown</div><div>SecurityManager class>>shutDown</div><div>SecurityManager class(Behavior)>>shutDown:</div><div>[] in SmalltalkImage>>send:toClassesNamedIn:with:</div><div>OrderedCollection>>do:</div><div>SmalltalkImage>>send:toClassesNamedIn:with:</div><div>SmalltalkImage>>processShutDownList:</div></div><div><br></div><div>Well, that code tries to change a LargePositiveInteger:</div><div><br></div><div><div>SecurityManager >> flushSecurityKey: aKey</div><div><span style="white-space:pre">   </span>"Flush a security key"</div><div><span style="white-space:pre">      </span>| n |</div><div><span style="white-space:pre"> </span>n := aKey first.</div><div><span style="white-space:pre">      </span>1 to: n basicSize do:[:i| n basicAt: i put: 0].</div><div><span style="white-space:pre">       </span>n := aKey second.</div><div><span style="white-space:pre">     </span>1 to: n basicSize do:[:i| n basicAt: i put: 0].</div></div><div><br></div><div>How to fix that without breaking security measures or the underlying concept?</div><div><br></div><div>Best,</div><div>Marcel</div></div><span></span><br></div></blockquote></div></body></html>