Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Debugging Null Pointer Assignment in a C for DOS utility
Message
From
01/04/2009 17:30:31
 
General information
Forum:
Visual FoxPro
Category:
Third party products
Miscellaneous
Thread ID:
01392641
Message ID:
01392672
Views:
64
This message has been marked as the solution to the initial question of the thread.
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).
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform