That's what people are supposed to do and actually do.![]()
He actually reported it to Apple several weeks ago. He only apparently went public with his findings when Apple did not address the bug.
Publicizing unfixed security flaws is actually pretty common in the information security world, it is intended to get attention to the problems so that they are fixed instead of ignored.