get a struct member pointer

Daniel Keep daniel.keep.lists at gmail.com
Mon Feb 16 14:04:09 PST 2009



bearophile wrote:
> Daniel Keep:
>> Heads up, Google is flagging the above site as doing drive-by
>> installation of malicious software.
> 
> My browser there has done nothing bad, and that page offers one of the best contents about this topic (I think that page is linked from Wikipedia too). Is that the kiss of death from Google for a page? :-)
> 
> Bye,
> bearophile

Well, when it lists the site as having performed drive-by installation
WITHOUT having to prompt or notify the user, that's pretty much the end
of it for me.

Given the report itself, it's probably malware that got in via their
advertiser.  But that's still no excuse.  I don't care HOW good the
content is if I'm risking my machine to view it.

That said, I actually read a bit of it via lynx; I don't think the code
I listed violates strict aliasing.  It creates a pointer of the same
type to a piece of memory; it only creates one of a different type as an
intermediary step, and doesn't store it.

  -- Daniel


More information about the Digitalmars-d-learn mailing list