Skip to content

xfree86: Fix NULL pointer dereference crash

screenp->displays[count] (passed to configDisplay() in configScreen()) is NULL if there is no Virtual setting in the configuration.

Fixes: f8a6be04 ("xfree86: Change displays array to pointers array to fix invalid pointer issues after table reallocation")

Signed-off-by: Zoltán Böszörményi zboszor@gmail.com

Merge request reports

Loading