Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Debugging Null Pointer Assignment in a C for DOS utility
Message
 
To
01/04/2009 17:30:31
General information
Forum:
Visual FoxPro
Category:
Third party products
Miscellaneous
Thread ID:
01392641
Message ID:
01392692
Views:
43
Thanks Naoto, there are a few calls to all 3 of them. I have checked them out and also increased some of the arrays but no joy. I will try to display them one by one after each of these call and see where they overrun.

If you have any other idea please let me know.

>Are there any places where you're performing strcpy() or strcat() with that variable into another one (which you might not have expanded in size)? Are there any places where sprintf() is used?
>As far as I recall, in DOS the "Null pointer assigment" error is reported when a particular memory area seems corrupt at the time a program exits. Part of the problem is DOS generally doesn't have memory protection (to prevent processes to modifying memory outside the defined boundaries) that would trigger an exception trap (on many Unix systems, you'll get "Bus error" error and a core dump at the point of the failure).
Regards
Bhavbhuti
___________________________________________
Softwares for Indian Businesses at:
http://venussoftop.tripod.com
___________________________________________
venussoftop@gmail.com
___________________________________________
Previous
Reply
Map
View

Click here to load this message in the networking platform