carl9170: fix out of bounds read
authorChristian Lamparter <chunkeey@googlemail.com>
Tue, 15 Jan 2013 21:31:15 +0000 (22:31 +0100)
committerChristian Lamparter <chunkeey@googlemail.com>
Tue, 15 Jan 2013 21:31:15 +0000 (22:31 +0100)
__carlfw_find_desc didn't check whenever the area for
a descriptor was within the file length. Also it could
read beyond the file while looking for a said descriptor.

Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>

No differences found