Fixed an off-by-one error in exif_convert_utf16_to_utf8()
authorDan Fandrich <dan@coneharvesters.com>
Thu, 12 Jul 2012 17:11:30 +0000 (10:11 -0700)
committerDan Fandrich <dan@coneharvesters.com>
Thu, 12 Jul 2012 17:11:30 +0000 (10:11 -0700)
commit51dd79380c12616525eae06b8c5f0d922585ee39
tree082a5bf05a096d5baea6e961e8aeda44c0db4c21
parent28d48aeb7f578a1f53d2560ad99483995f467075
Fixed an off-by-one error in exif_convert_utf16_to_utf8()
This can cause a one-byte NUL write past the end of the buffer.
This fixes CVE-2012-2840
libexif/exif-utils.c