Closed LordYuuma closed 3 years ago
If lockTexture is a nullptr, calculating text_size and bg_sizef is UB and will lead to a segfault if you try hard enough.
lockTexture
nullptr
text_size
bg_sizef
fixed in 78531233d5a3b6033569eca8935851b71cee6621
If
lockTexture
is anullptr
, calculatingtext_size
andbg_sizef
is UB and will lead to a segfault if you try hard enough.