Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations MikeeOK on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

What does it mean = Run-Time Check Failure #2

Status
Not open for further replies.

sweep123

Technical User
May 1, 2003
185
GB
I get the following error and have no idea what it means. The variable looks OK in debug mode.

The full error message is:

Run-Time Check Failure #2 - Stack around the variable name 'ent_name' was corrupted.

Help?!?
 
It sounds like you have a buffer overflow somewhere in your code which has trashed the stack. If you post the code I'm sure someone will be able to point you in the right direction.
 
Yes stuffing too much data into a char*

Many thanks for your post.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top