If the smell is pungent, sweet or downright nasty, it's bad. Tofu will typically just have a soybean smell to it until that point. I would not eat tofu past the package date as it tends to be right.