[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freebsd-questions
Subject:    Re: Password theft from memory?
From:       RW <rwmaillists () googlemail ! com>
Date:       2011-04-30 0:29:22
Message-ID: 20110430012922.0cbd98f8 () gumby ! homeunix ! com
[Download RAW message or body]

On Fri, 29 Apr 2011 12:00:00 -0400
Bob Hall <rjhjr0@gmail.com> wrote:

> On Fri, Apr 29, 2011 at 01:54:06AM +0100, RW wrote:

> > but they aren't the same - that's what the quotes were about. 
> 
> Looking back, I don't see anything in your quotes that raises the
> issue of anonymous objects being used differently.


If you don't already know that memory is zeroed by default it
would be obtuse to infer that arbitrarily sized anonymous mappings are
zero-filled, just because a few bytes of padding are zero-filled.
Consequently your quote had no relevance to whether memory obtained by
malloc is zero-filled.

However, by taking that sentence out of context it was made unclear what
"extensions" referred to. A casual reader could have assumed that it
was possible to make zero-filled extensions to the object through mmap.
If that were true then your position, that the two cases are similar,
would be be quite reasonable. I assumed that you had misread the man
page. 
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic