Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-06-30 | Revert "Redo range check in CPDF_SampledFunc::v_Call()." | Tom Sepez | |
This reverts commit 74742a75ac7a07c08cf36fe6f4eaa91bed8236a3. | |||
2015-06-30 | Redo range check in CPDF_SampledFunc::v_Call(). | Tom Sepez | |
The current |bitpos1| calculation protects the passed argument to _GetBits32(): |bitpos.ValueOrDie() + j * m_nBitsPerSample|, but doesn't account for adding in the sample length in that routine. Also bound bits per sample to something reasonable to avoid undefined behaviour on the shift to compute the max value. BUG=471990 R=jun_fang@foxitsoftware.com Review URL: https://codereview.chromium.org/1219663003. |