This is why I like Glocks.
They don't CONTAIN enough energy to fire a primer of their own accord, in any condition (including 'cocked'.)
YOU HAVE TO PULL THE TRIGGER, OR IT WON'T GO OFF.
No malfunction could make the gun go off, because at the absolute worst the malfunction would cause the part-cocked striker to fall on the primer. Result = NOTHING HAPPENS!
Now, other stuff than your finger can pull the trigger (though it's hard with the trigger-mounted safety. Has to be a very clever stick.)
So, if it was a Glock, then this guy MUST have mis-handled it somehow for it to go boom.
PS: remind me to stay away from cheap .32s (or any fully-cockable gun with questionable mechanics/sear-wear, both in design and in the specific model.)