From: Vinzent Hoefler Newsgroups: comp.os.msdos.djgpp Subject: Re: strange content in compiled file Date: Sun, 16 Jun 2002 16:43:08 +0200 Organization: JeLlyFish software References: X-Newsreader: Forte Agent 1.8/32.548 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit NNTP-Posting-Host: 213.3.190.229 Message-ID: <3d0ca403_2@news.bluewin.ch> X-Trace: news.bluewin.ch 1024238595 213.3.190.229 (16 Jun 2002 16:43:15 +0200) Lines: 21 X-Complaints-To: abuse AT bluewin DOT ch 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" wrote in >news:aehvo9$73br1$1 AT ID-43990 DOT news DOT dfncis DOT de: > >> 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. [...] > >yes, this is a bug in MsDos / Windows that don't fill with zero's new >blocks of memory / diskspace And so why does the linker output a lot of bytes of uninitialized memory? Isn't it supposed to output just the things it needs to create the executable? Vinzent.