mirror of
https://gitea.wildfiregames.com/0ad/0ad
synced 2026-06-18 06:13:55 -07:00
Because the page stack is a vector, if during PushPage, a new page is pushed, the vector may re-allocate. This 'pulls the rug out' from underneath the code stack that originally pushed, which then crashes. To fix this, use a deque, since push/pop won't invalidate references. Reported by: Imarok. Based on a patch by: Imarok (tests are his) Differential Revision: https://code.wildfiregames.com/D4037 This was SVN commit r25616.
5 lines
146 B
XML
5 lines
146 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<page>
|
|
<include>common/styles.xml</include>
|
|
<include>regainFocus/pushWithPopOnInit.xml</include>
|
|
</page>
|