Let me get this straight: Your buddy was a (backseat?) passenger in this chick's car. They get pulled over for something (what were they pulled over for?) and she consents to a search of her car including the glove box where the dope is found. Her other friend admits that the dope was his, lucky for her. Then the two dudes go to jail. Do I have it correct up to now?
This makes no sense to me at all. How can two people be charged with possession of the same bag of weed?
POSSESSION - A person has possession of something if the person knows of its presence and has physical control of it, or has the power and intention to control it. [More than one person can be in possession of something if each knows of its presence and has the power and intention to control it.]
WTF? There's something missing from this story. If anything, she and the other dude should have gone down and her car impounded. Your buddy should have been left to walk home. Your buddy is not coming clean with you.