commit | 4f147cf063a9dfd177d3437c857eb8bbec8a6c00 | [log] [tgz] |
---|---|---|
author | Mark Adler <madler@alumni.caltech.edu> | Sat Sep 05 17:45:55 2015 -0700 |
committer | Elliott Hughes <enh@google.com> | Fri Jan 15 14:03:25 2016 -0800 |
tree | 16d01da39f5aad5f403c97653c71cfc292b8fae1 | |
parent | 59f86b5afa934978f98060a70a4f4aa793454682 [diff] |
Avoid shifts of negative values inflateMark(). The C standard says that bit shifts of negative integers is undefined. This casts to unsigned values to assure a known result. (cherry picked from upstream github madler/zlib commit e54e1299404101a5a9d0cf5e45512b543967f958) Bug: http://b/26133956 Change-Id: I1c641ca7d5802b2bdd7d1c266c3cc201bc5ae68a