]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
In libz's inflateMark(), avoid left-shifting a negative integer, which
authorDimitry Andric <dim@FreeBSD.org>
Mon, 7 Sep 2015 20:55:14 +0000 (20:55 +0000)
committerDimitry Andric <dim@FreeBSD.org>
Mon, 7 Sep 2015 20:55:14 +0000 (20:55 +0000)
commit1c292cd806c6f0e5f7df2038583d3ea0f559f9f0
treefc89c48639b87389f9bc68b6ea8837399b9c5045
parent9af8c8b72b88b110ce48943136c05374205c13cb
In libz's inflateMark(), avoid left-shifting a negative integer, which
is undefined.

Reviewed by: delphij
Differential Revision: https://reviews.freebsd.org/D3344
MFC after: 3 days
lib/libz/inflate.c