If you are worried about the possibility of the gases igniting I would say you should be safe. I have never heard of this type of issue happening. Over time, the sewer gas inside of the pipe has been known to make people sick, but I am not aware of any dangers from simply cutting the pipe.