In contrast, most of the non-d20 I games I play in which friendly-fire rules exist do rule it that way (and, yes, firing a volley into a large mass probably hits someone). Missing doesn't mean you automatically hit an ally.
However, as this discussion is in the D&D section, that is likely...