garray: improve boundary checks
The function arguments index_ and length could lead to a sum which is larger than G_MAXUINT, possibly leading to out of boundary accesses in array_remove_range functions.
Signed-off-by: Tobias Stoeckmann tobias@stoeckmann.org
Fixes: #3240 (closed)