summaryrefslogtreecommitdiff
path: root/ext/sodium
diff options
context:
space:
mode:
authorChristoph M. Becker <cmbecker69@gmx.de>2017-08-24 12:39:45 +0200
committerChristoph M. Becker <cmbecker69@gmx.de>2017-08-24 14:07:10 +0200
commit5cd348c1d606b890abae076a38e47effcfda79be (patch)
tree5e5bd768ef68311a08d1b7fe49fbc8c441840e1d /ext/sodium
parentcf6f25bd37f2dc36f1443f07406a89040c50db65 (diff)
downloadphp-git-5cd348c1d606b890abae076a38e47effcfda79be.tar.gz
Fixed bug #75111 (Memory disclosure or DoS via crafted .bmp image)
Crafted BMP images can cause dynamicSeek() to be called with a negative position which must not be allowed, since dynamicSeek() works like fseek() in SEEK_SET mode. We solve this by bailing out if `pos` is negative, and let the image reading fail gracefully.
Diffstat (limited to 'ext/sodium')
0 files changed, 0 insertions, 0 deletions