With a proper tent stove the majority of the fumes should be directed out of the tent up the flue. However, there are some precautions you need to take. Keep the tent well ventilated to avoid a build-up of fumes.  Ideally have a vent open so your tent lets the air flow through, so you have a supply of fresh air. 

Never leave your stove on through the night. Make sure the stove has burned out before you go to sleep, it will remain hot for a time anyway.