delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/06/06/00:55:54

From: rminnich AT sarnoff DOT com ("Ron G. Minnich")
Subject: Re: EXE has file junk in it
6 Jun 1997 00:55:54 -0700 :
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <Pine.SUN.3.91.970605141040.3695A-100000.cygnus.gnu-win32@terra>
Mime-Version: 1.0
X-Sender: rminnich AT terra
Original-To: gnu-win32 AT cygnus DOT com
In-Reply-To: <199706041232.IAA26043@ns1.co.alachua.fl.us>
Original-Sender: owner-gnu-win32 AT cygnus DOT com

On Wed, 4 Jun 1997, Dean Limbaugh wrote:
> A word about MSDOS/WIN95/WINNT. Files sizes are always an integral number
> of clusters. This means a 1 byte file occupies a full cluster. Apparently,
> when a file is written to disk the unused portion of the buffer is not
> cleared, so whatever was there is written to the disk. 

Actually there are three possibilities, and I am trying to see which it 
is.  
1) clusters are not cleaned when reallocated to a file
2) zero-filled pages from anonymous memory are not being zero-filled
3) clusters from swap are not cleaned when allocated to a process

> ----------
> > From: jman <jman AT lx DOT net>
> > To: Gunther Ebert <gunther DOT ebert AT ixos-leipzig DOT de>
> > Cc: Bill Klein <bk AT cheerful DOT com>; gnu-win32 AT cygnus DOT com
> > Subject: Re: EXE has file junk in it
> > Date: Wednesday, June 04, 1997 1:22 AM
> > Using a hex editor I see this too. If you hex edit a file compiled with
> > gnuwin32 it shows files from other dir in it. This has happened on both
> > NT/Win95. It goes so far as getting a copy of my users an .pwd files. I

Are we sure about nt? If so this is a bit of a problem. But, once again, 
it is an NT problem, not a cygwin32 problem. OSes are supposed to do this 
work.

ron
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


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