That will depend entirely on the morality or the ethics of that person, I am quite sure the majority of the gamblers out there will never think about cheating the casino even if the financial gain could be high, however there is also a small number of gamblers out there which are looking for bugs or even trying to find ways to provoke them, and it is clear that for gamblers like that if they happen to find a bug they will take advantage of it immediately and hope for the best at the moment they ask for a withdrawal.
It's because they think what they're about to do to the casino could have a bad effect on their account, so they don't want to try it. Maybe a minority of gamblers or cheaters are looking to exploit that bug loophole to their advantage. But the casino will know sooner or later so that the casino can later block their account and they can't play gambling at the casino anymore. If they report it to the casino, the casino may reward them well.
It comes down to personal integrity, I suppose
If you're the honest, trustworthy type, you'll blow the whistle on the worm. Obviously, you don't want your fellow gamblers to lose their money due to a bug in the system. Plus, the bonus money from the casino if you catch it is a great touch, right?
But if you believe that "the world is a jungle" and that "every man for himself," you might try to take advantage of the flaw. A gift from the cosmos, if you will. However, keep in mind that casinos have hawk-like surveillance systems. They will surely attack at any moment
Surely the casinos will know. The accounts of gamblers who rigged the casino system would surely be banned until they could no longer register with the casino. And that is a loss for those cheating gamblers because if it was a trusted casino, they already lost 1 casino because of their cheating. It is very difficult to find a trusted casino, so we shouldn't do anything that can harm us. But that's up to everyone because we must also be responsible for our actions.