🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.c++
Article #164

Re: “The end of software secrecy is almost upon

#164
From: Johann 'Myrkraverk' Oskarsson
Date: Thu, 22 Oct 2026 03:05
22 lines
2147 bytes
On 10/22/2026 8:37 AM, Lawrence D’Oliveiro wrote:
> On 21 Oct 2026 16:02:16 GMT, Ted Nolan <tednolan> wrote:
> 
>> A co-worker actually tracked down such an issue. It turned out that
>> in certain cases of misuse of indirection, you could assign new
>> values to constants, such that '2' might have the value 1.
> 
> Certain early Fortran implementations. Couldn’t happen in any other
> language ...

Did you never experiment with

   const int i = 3 ;
   int *p = &i ;
   *p = 1 ;

in C, as a student?
-- 
Johann | email: invalid -> com | http://www.myrkraverk.com/blog/
I'm not from the Internet, I just work there. | via Easynews.com
https://bsky.app/profile/myrkraverk.bsky.social | for ( ;; ) _:;
Federated at https://fed.brid.gy/bsky/myrkraverk.bsky.social
Technical Details
Message-ID: <64fCS.417$Mev6.212@fx01.ams4>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!feeder.usenetexpress.com!tr2.iad1.usenetexpress.com!news-out.netnews.com!netnews.com!s1-4.netnews.com!peer05.iad!feed-me.highwinds-media.com!news.highwinds-media.com!peer04.ams1!peer.ams1.xlned.com!news.xlned.com!fx01.ams4.POSTED!not-for-mail
References: <11amvre$15far$1@dont-email.me> <11b9bn2$28tm$2@gal.iecc.com> <njqtg4Ft1p6U1@mid.individual.net> <_Kicnccuc79TfUX3nZ2dnZfqnPadnZ2d@giganews.com> <njs608F4tekU1@mid.individual.net> <11bblrj$du80$5@dont-email.me>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!feeder.usenetexpress.com!tr2.iad1.usenetexpress.com!news-out.netnews.com!netnews.com!s1-4.netnews.com!peer05.iad!feed-me.highwinds-media.com!news.highwinds-media.com!peer04.ams1!peer.ams1.xlned.com!news.xlned.com!fx01.ams4.POSTED!not-for-mail
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Subject: Re: “The end of software secrecy is almost upon
Newsgroups: comp.lang.fortran,comp.lang.c++,alt.comp.lang.rust,alt.folklore.computers
References: <11amvre$15far$1@dont-email.me> <11b9bn2$28tm$2@gal.iecc.com> <njqtg4Ft1p6U1@mid.individual.net> <_Kicnccuc79TfUX3nZ2dnZfqnPadnZ2d@giganews.com> <njs608F4tekU1@mid.individual.net> <11bblrj$du80$5@dont-email.me>
Content-Language: en-US
From: Johann 'Myrkraverk' Oskarsson <johann@myrkraverk.invalid>
Organization: Watcom Pro Ltd.
In-Reply-To: <11bblrj$du80$5@dont-email.me>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Lines: 22
Message-ID: <64fCS.417$Mev6.212@fx01.ams4>
X-Complaints-To: abuse@easynews.com
X-Complaints-Info: Please be sure to forward a copy of ALL headers otherwise we will be unable to process your complaint properly.
Date: Thu, 22 Oct 2026 11:05:37 +0800
X-Received-Bytes: 1882