Commit 13316dc0 authored by Robert Sprowson's avatar Robert Sprowson Committed by ROOL
Browse files

[519] Wimp crash on bad title bar validation

Reset the redrawhandle when creating a new window, so an empty title validation string
doesn't cause an unwanted page in of another task. This could lead to a subsequent abort
if the wrongly paged in task had a smaller slot when attempting to dereference the
pointer.
parent 131bd90b
......@@ -4030,6 +4030,7 @@ SWIWimp_SetExtent
checkextent
Push "cx0,cy0,cx1,cy1,LR"
BL checkredrawhandle ; ensure no task switch for validation string reads
;
BL minwindowx
Pull "cx0,cy0,cx1,cy1,PC",VS
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment