From: Christian Knapmeyer <knapmey@tecmath.de>
Subject: Re: Will Pentium bug mean more Alpha sales?
Date: 1997/11/17 [thread overview]
Message-ID: <kj90unrc2a.fsf@tms2.tecmath.de> (raw)
In-Reply-To: 64fr8r$m0b$1@mrnews.mro.dec.com
sontakke@hobby.nl (Vikas Sontakke) writes:
> Here are couple of prgrams 1st one is in Quick basic, just run it from your
> MSDos window of your NT/95 machine. The second one is in Visual C++. Compile
> it using available compiler. If your compiler does not allow _asm_emit change
> it to _asm
> #define db(val) _asm _emit val
>
> void
> main()
> {
>
>
>
> printf("hw\n");
> db( 0f0h )
> db( 00fh )
> db( 0c7h )
> db( 0c8h )
>
> }
Here it is a little more elegant, without using "_asm" statements.
This version appeared in Bugtraq.
char x [5] = { 0xf0, 0x0f, 0xc7, 0xc8 };
main ()
{
void (*f)() = x;
f();
}
As I already said in a previous posting, I'm not too much
concerned about that bug. No compiler will ever generate
these 4 bytes in its code section - unless the compiler
has some "strange" bug, or you deliberately write down that
code, as shown above.
Of course, there will be viruses, trojan horses, evil Active X
applets that will try to stop user's computers with this
Pentium bug. But this attack is rather harmless compared to
the other things that even Word macro viruses can do.
Greetings,
Christian
--
----------------------------------------------------------------------------
Dipl.-Inform. Christian Knapmeyer Email: knapmey@tecmath.de
TECMATH GmbH Voice: 06301/606-20 Fax: 06301/606-70
Sauerwiesen 2 Face : Room 249
67661 Kaiserslautern, Germany Disclaimer: as usual
---------- press any key to continue. press any other key to quit.----------
next prev parent reply other threads:[~1997-11-17 5:00 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-11-10 5:00 Will Pentium bug mean more Alpha sales? Alan Frisbie
1997-11-11 5:00 ` Robert Koehler
1997-11-11 5:00 ` Antonio Carlini
1997-11-11 5:00 ` Ross Alexander
1997-11-11 5:00 ` Larry Kilgallen
1997-11-11 5:00 ` Like a tea tray in the sky...
1997-11-13 5:00 ` jf mezei
1997-11-11 5:00 ` Terry C. Shannon
1997-11-11 5:00 ` Joseph B. Gurman
1997-11-11 5:00 ` Glenn C. Everhart
1997-11-12 5:00 ` Christian Knapmeyer
1997-11-13 5:00 ` Agtabby
1997-11-11 5:00 ` Dan Pop
1997-11-12 5:00 ` David Griffith
1997-11-13 5:00 ` Antonio Carlini
1997-11-13 5:00 ` Vikas Sontakke
1997-11-17 5:00 ` Christian Knapmeyer [this message]
1997-11-17 5:00 ` SLIRP on VMS? (WAS: Will Pentium bug mean more Alpha sales?) SYSTEM MANAGER
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox