commit | 0d8a86b53b40b3e8e3b7392e7bf5c51dbd327101 | [log] [tgz] |
---|---|---|
author | Florian Kriener <floriank@google.com> | Thu Mar 03 15:37:22 2016 +0100 |
committer | Yujie Qin <yujieqin@google.com> | Fri Mar 11 13:42:55 2016 +0000 |
tree | 9c7b59c2a7006db75448e36a2ce4270ac3cb6724 | |
parent | 67bc1e775074b78ad6b55489ee613ef9666a04fd [diff] |
Integrate integer overflow fixes from security branch cherry-pick of 55625cf05f4345dcab5d9d92b83bb8b5606debab for nyc-dev. * Throw exception on float cast overflow in dng_stream.cpp. * Ensure hue is in range before converting to integer. * Replace the limits from stdint.h by the limit from std::numeric_limits<>. Bug: 26535130 Change-Id: I660c730a8551a8613655898c0fff749925dad149