It depends on how tightly packed into the branch they are. If they're crammed in there firmly enough, they'd likely fire off the actual bullets, probably turning the branch to shrapnel in the process, as wood makes for a poor chamber for discharging rounds. If they're not in there very tightly, however, it's more likely that the casings will instead go flying off, leaving the bullets to tumble harmlessly in place, and most likely lighting the branch on fire in the process.
Here's a little ballistics information for you. A bullet gains speed because rapidly expanding gas pushes it at an ever increasing rate down the barrel. If you are familiar with Newton's third law, you would know that most of the pressure would dissipate immediately because the propellant would not be confined to a barrel. The projectile would pop out of the shell at a relatively low speed because the bullet would come out as the gas inside the shell expanded enough to force it outward. Once out, there is no further gas expansion to get the bullet up to lethal velocity. What you would most likely see is several loud pops and relatively little damage. There is no rifling and very little pressure to get the bullet up to speed. Worst case scenario it would possibly be about the equivalent of getting hit by a thrown rock; and that's only if the projectile made it out of the wood pile; which is unlikely. As the wood in the pile around the device burned, it would more than likely change the position and therefore the trajectory sending it into the other wood in the pile, downward or upward. In fact, it would be more likely to cause harm if the shell casing was the projectile but that part is secured in the wood.
It depends on how tightly packed into the branch they are. If they're crammed in there firmly enough, they'd likely fire off the actual bullets, probably turning the branch to shrapnel in the process, as wood makes for a poor chamber for discharging rounds. If they're not in there very tightly, however, it's more likely that the casings will instead go flying off, leaving the bullets to tumble harmlessly in place, and most likely lighting the branch on fire in the process.
Here's a little ballistics information for you. A bullet gains speed because rapidly expanding gas pushes it at an ever increasing rate down the barrel. If you are familiar with Newton's third law, you would know that most of the pressure would dissipate immediately because the propellant would not be confined to a barrel. The projectile would pop out of the shell at a relatively low speed because the bullet would come out as the gas inside the shell expanded enough to force it outward. Once out, there is no further gas expansion to get the bullet up to lethal velocity. What you would most likely see is several loud pops and relatively little damage. There is no rifling and very little pressure to get the bullet up to speed. Worst case scenario it would possibly be about the equivalent of getting hit by a thrown rock; and that's only if the projectile made it out of the wood pile; which is unlikely. As the wood in the pile around the device burned, it would more than likely change the position and therefore the trajectory sending it into the other wood in the pile, downward or upward. In fact, it would be more likely to cause harm if the shell casing was the projectile but that part is secured in the wood.
EDIT: i just read that many children typically attend these bonfires. whoever rigged the branch deserves prison and/or mental health evaluation.