Wiki Markup |
---|
Many functions accept pointers as arguments. If the function dereferences an invalid pointer (see [EXP34-C. EnsureDo not adereference null pointer is not dereferencedpointers]) or reads or writes to a pointer that does not refer to an object, the results are [undefined|BB. Definitions#undefined]. Typically, the program will terminate abnormally when an invalid pointer is dereferenced, but it is possible, for an invalid pointer to be dereferenced, and its memory changed, without abnormal termination \[[Jack 07|AA. C References#Jack 07]\]. Such programs can be difficult to debug because of the difficulty in determining if a pointer is valid. |
...