Skip to content

garray: improve boundary checks

Tobias Stoeckmann requested to merge tstoeckmann/glib:garray_maxuint into main

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)

Merge request reports