The bug
When in a boat with a mob (tested with dog and cat) riding in back, shooting arrow causes damage to the mob riding in the boat.
The arrow appears to start slightly behind the player (can be seen when viewed in F5) so it hits the mob's hitbox first. The mob's hitbox appears to slightly overlap the player's.
How to reproduce
Videos:
https://youtu.be/eXIonOnBD_M?t=16m40s (Before 16w34a)
https://www.youtube.com/watch?v=J9jEQjGz0Vs (16w34a and above)
Something about this has changed with the 16w34a snapshot. The angle of the bow when fired seems to be key. I have some footage showing it being replicated in this snapshot, albeit less frequently here: https://youtu.be/UZRPlWUfdnk