Skip to content

QQmlJs::FixedPoolArray: fix UB (precondition violation) in allocate()

Says ubsan:

qqmljsfixedpoolarray_p.h:90:19: runtime error: null pointer passed as argument 2, which is declared to never be null

Fix, like in so many other places, by a size check.

Pick-to: 6.3 6.2 5.15 Change-Id: I9181d6ecb467c2dc726978ce7f93b35a6bf2f944 Reviewed-by: Lars Knoll lars.knoll@qt.io (cherry picked from commit d74e931f)

Merge request reports