This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: WARNING: Serious Pentium Bug


As a point of curiosity, what is this program supposed to do?  It looks
like it is assigning a pointer to function to a character array.  Possibly
for assember instructions?  What is it about the code that crashes a
Pentium?

> > There is a SERIOUS bug in all pentium CPUs. The following 
> > code will crash any machine running on a pentium CPU, MMX or no 
> > MMX, any speed, regardless of OS (crash as in instant seize, hard 
> > reboot the only cure):
> > 
> > char x [5] = { 0xf0, 0x0f, 0xc7, 0xc8 };
> > 
> > main ()
> > {
> >        void (*f)() = x;
> >        f();
> > }
> > 
> > This require no special permissions to run, it works fine with
> > average-joe-userspace permissions. I have verified this, it works.
> > Demand a new CPU from Intel.
> > 

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]