Improper use of pointers are frequently a source of bugs that can include security bugs or program crashes, most often due to segmentation faults.
Not checking for allocation failures
Memory allocation is not guaranteed to succeed, and may instead return a NULL pointer. Using the returned value, w...