Skip to content

compositor: Fix harmless potential buffer overflow

We could overflow a local buffer if there were more than ten million concurrently active displays within the current user's session. This seems vanishingly unlikely, and harmless, but does at least squash a compiler warning emitted by gcc 12+.

Signed-off-by: Daniel Stone daniels@collabora.com

Merge request reports

Loading