At one time, about 15 years ago, I did some controlled safety tests to determine barrel bursting conditions using the M9 (Beretta 92) pistol in 9mm. I never could get the barrel to rupture, no matter what I did using even extreme 9mm (M885) overloads and the bore plugged with a bullet in several locations (ahead of the chamber, midpoint, and at the muzzle). I had an essentially unlimited supply of condemned M9s and barrels to work with. I got lots of barrel bulges, some quite large, and even some deformed slides, but nothing that would harm the firer. Everything went out the muzzle. The M9 is a tough pistol, no doubt about it. In the case of a revolver, you indeed have a built-in pressure relief opening.