×
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Peacekeeper
Message 21 of 23

Re: mcafee service host crash

I do not expect there to be any. Now to sort out why this is so....

jmichae3
Contributor
Message 22 of 23

Re: mcafee service host crash

typical causes of a crash are:

  • Array index is out of bounds, either intentionally or accidentally, or through uninitialized integer variable which contains garbage
  • pointer points to memory that the process doesn't own
  • pointer is incremented/decremented beyond its allocated memory bounds (see array bounds)
  • uninitialized pointer
  • abused pointer
  • unhandled C++ exception thrown
  • general protection fault (old school)

a C pointer looks like

int x;

int * pn = &x; //address of x assigned to pn

char * str="a sample string"; if the compiler supports this construct and doesn't bail on it.

char s[2]="hello"; //big mistake, didn't allocate enough space

char s[5]="hello"; //big mistake, didn't allocate enough space, (close, but fencepost "off-by-1" error) should allocate space also for null terminator character

if you want to pass this on to engineering, maybe it will spur a thought, but it may be old hat to them.  or it may refresh some thinking that someone has forgotten.

Peacekeeper
Message 23 of 23

Re: mcafee service host crash

Have done

How Many Badges Can You Collect?
Ready for a little competition? Members like you are earning badges and unlocking perks for their helpful answers. Are you? Click here to find out.

Community Help Hub

    New to the forums or need help finding your way around the forums? There's a whole hub of community resources to help you.

  • Find Forum FAQs
  • Learn How to Earn Badges
  • Ask for Help
Go to Community Help

Join the Community

    Thousands of customers use the McAfee Community for peer-to-peer and expert product support. Enjoy these benefits with a free membership:

  • Get helpful solutions from McAfee experts.
  • Stay connected to product conversations that matter to you.
  • Participate in product groups led by McAfee employees.
Join the Community
Join the Community