Today I found out I had rotten food (bread and meat) inside a closed (I think) container inside a bag. The bag had been smelly but I couldn't find the source until today. I immediately threw it away, but it had a nasty look: putrid smell, black-green-colored (hard to tell). I had felt the smell for quite a few days, maybe two weeks (though I suspect it had been hidden on the bag for longer). Today, when throwing it away, I obviously smelled it once again.
I did wash my hands thoroughly, but I'm still worried this might be dangerous. I'm not feeling any symptoms, but should I be worried about the potential consequences? I was close to the source, and smelled it, many times. Presumably either fungi or anaerobic (even aerobic?) bacteria were involved, and these can give some nasty infections, I think.