www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/06/16/12:45:18

Message-ID: <3D0CBB42.D539FD@yahoo.com>
From: CBFalconer <cbfalconer AT yahoo DOT com>
Organization: Ched Research
X-Mailer: Mozilla 4.75 [en] (Win98; U)
X-Accept-Language: en
MIME-Version: 1.0
Newsgroups: comp.os.msdos.djgpp
Subject: Re: strange content in compiled file
References: <aehvo9$73br1$1 AT ID-43990 DOT news DOT dfncis DOT de> <Xns922F96A66B6F9raf256com AT 213 DOT 180 DOT 128 DOT 20>
Lines: 25
Date: Sun, 16 Jun 2002 16:42:45 GMT
NNTP-Posting-Host: 12.90.170.7
X-Complaints-To: abuse AT worldnet DOT att DOT net
X-Trace: bgtnsc05-news.ops.worldnet.att.net 1024245765 12.90.170.7 (Sun, 16 Jun 2002 16:42:45 GMT)
NNTP-Posting-Date: Sun, 16 Jun 2002 16:42:45 GMT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Rafal 'Raf256' Maj wrote:
> "Christian Görgen" <christiangoergen AT gmx DOT de> wrote in
> 
> > after compiling a simple HelloWorld.c-file with gcc, i found
> > some strange content in the HelloWorld.exe and HelloWorld files.
> > They contained code-sniplets auf websites i visited formerly and
> > also contents of mails, wich are saved in outlook express
> > folders. Anyone who did noticed the same?
> > Or anyone knows what the reason is for that behavior.
> > Unfortunatly i was not able to reproduce this yet.
> 
> yes, this is a bug in MsDos / Windows that don't fill with zero's
> new blocks of memory / diskspace

It is not a bug, but it is a security leak.  *IF* there is any bug
anywhere I would put it in the gcc system, for failing to zero
unused output areas.  Here it is a bug primarily because it
prevents making binary compares of output files.

-- 
Chuck F (cbfalconer AT yahoo DOT com) (cbfalconer AT worldnet DOT att DOT net)
   Available for consulting/temporary embedded and systems.
   <http://cbfalconer.home.att.net>  USE worldnet address!


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019