Just for the record...
NEVER fire any proper rifle into the air period and that includes bushes, trees, wall top etc, in fact anywhere you do not have a verifiable background behind the object that acts as a proper safe bullet stop.
I believe from memory an elevated .22 LR round is dangerous to a range of 1.5 MILES (it's usually printed on the boxes).
(When elevated it a bullet follows a parabolic curve and with the right angle of elevation that becomes the max range for .22 LR)!!!!)
Centre-fire is considerably more dangerous, from memory I've seen warnings of 3 miles or more!