Probably not illegal but maybe be careful about fixing them:
- If people can find the bug accidently and/or often, maybe consider fixing it so it doesn't interfere with gameplay.
- If the bug is very specific and/or hard to accomplish, there's no need to fix it if the community is happy with it.