Issue #1829: Fix crash in unrtf library.

Integer overflow in array index leading to unpredictable behavior.
Using correct integer signess and casting fix the problem and turn
negative value into 0. Expected fallback behavior then apply.

Make use of uint8_t since the hash array is a static array of 255 elements.
This commit is contained in:
Julien Kerihuel
2013-01-17 02:57:28 +01:00
committed by Ludovic Marcotte
parent e6e4616a69
commit 7e001a05a4

File diff suppressed because it is too large Load Diff