Hey, your situation is similar as mine. by the time I tried to apply the visa for my kid, then I realized the passport's expiry date is 23 June 2011 and our trip to TP is Dec 22-28. I checked with my travel agent, she said my kid's passport ought to have 6 months validity when he leaves TP or the immigration won't let him go. I applied the passport for him and will get it next week.
You still have enough time to apply for a new passport. Don't take risk!