I've used 1" needles for glute shots (gluteus medius). I have never injected into the gluteus maximus because of the risk of hitting the sciactic nerve. If you're shooting in g. maximus, it MIGHT be safer to use a shorter needle. It would definitely be safer to shoot in the g. medius.
The portions shown in red and purple below comprise the gluteus medius:
(Click on the picture for larger image)