klauspost/rawspeed — pull request #60 by pedrocr (2014-12-31 20:07:14+00:00)
Title: Add support for TIFF_SHORT in DNGs ActiveArea

As it turns out DNGs can use SHORT for the ActiveArea values. Apparently some cellphone started producing raws that use that. This also adds a safety check to see if active area has 4 elements. Before the code ran the risk of reading out of bounds.