From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,5dacec64c8c879fa,start X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.68.227.40 with SMTP id rx8mr3373881pbc.5.1328226102142; Thu, 02 Feb 2012 15:41:42 -0800 (PST) Path: lh20ni253807pbb.0!nntp.google.com!news1.google.com!postnews.google.com!t30g2000vbx.googlegroups.com!not-for-mail From: Simon Belmont Newsgroups: comp.lang.ada Subject: Preventing Unchecked_Deallocation? Date: Thu, 2 Feb 2012 15:41:41 -0800 (PST) Organization: http://groups.google.com Message-ID: <33a35da4-6c3e-4ab4-b58f-a9d73565d79a@t30g2000vbx.googlegroups.com> NNTP-Posting-Host: 24.218.138.255 Mime-Version: 1.0 X-Trace: posting.google.com 1328226102 32164 127.0.0.1 (2 Feb 2012 23:41:42 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Thu, 2 Feb 2012 23:41:42 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: t30g2000vbx.googlegroups.com; posting-host=24.218.138.255; posting-account=ShYTIAoAAABytvcS76ZrG9GdaV-nXYKy User-Agent: G2/1.0 X-Google-Web-Client: true X-Google-Header-Order: ARLUEHNKC X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/4.0; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.5.30729; .NET CLR 3.0.30729; .NET4.0C; InfoPath.2),gzip(gfe) Content-Type: text/plain; charset=ISO-8859-1 Date: 2012-02-02T15:41:41-08:00 List-Id: Hey all, Does anyone know of a clever incantation to prevent the unchecked deallocation of an access type? No matter what combination of methods I use, there doesn't seem to be way to prevent some arbitrary code from type casting it to a local type, and then freeing it. -sb