commit | 5e29e82390bccfff514e710c90de8089ab5ef269 | [log] [tgz] |
---|---|---|
author | Tim Kientzle <kientzle@acm.org> | Sun Jun 19 15:58:33 2016 -0700 |
committer | Tim Kientzle <kientzle@acm.org> | Sun Jun 19 15:58:33 2016 -0700 |
tree | cfe569fbc3e95425edf39abdd0cd671094f2bcb8 | |
parent | 603454ec03040c29bd051fcc749e3c1433c11a8e [diff] |
Issue 719: Refuse to allocate a too-small PPMD7 context Other parts of the PPMD7 code assume that the dictionary is at least UNIT_SIZE (12 bytes). Enforce that assumption here to avoid potential buffer under- and over-runs. This was pointed out in a review of the original fix for Issue 719.