]> granicus.if.org Git - php/commit
Fix overrun in exif's "Illegal components" error message.
authorMitch Hagstrand <mhagstrand@gmail.com>
Thu, 5 Jan 2017 01:44:00 +0000 (17:44 -0800)
committerMitch Hagstrand <mhagstrand@gmail.com>
Thu, 5 Jan 2017 01:44:00 +0000 (17:44 -0800)
commit54404808abe870ffbc1be78cd3783254a18e8170
tree2cec031c74ae2c4b0191ef82b3d93ae17a2d4da4
parent032131f00b372673bcfd24232860048498bd1d44
Fix overrun in exif's "Illegal components" error message.

The variables "components" is an integer, but is being
output as long. As a result it is printing 8 bytes
instead of 4 bytes.
ext/exif/exif.c
ext/exif/tests/bug73737.phpt