Instead of just blindling assuming that all of the pointers are valid until the end.
Attach a file by drag & drop or click to upload