Mercurial > mm7
comparison GUIWindow.cpp @ 200:1527f66fd81b
Buffer overflow in credits window
author | Nomad |
---|---|
date | Sat, 16 Feb 2013 22:35:58 +0200 |
parents | e6e348d66a75 |
children | f7c268995788 |
comparison
equal
deleted
inserted
replaced
199:66db86fa4ed2 | 200:1527f66fd81b |
---|---|
1794 const char *v29; // [sp-8h] [bp-18h]@68 | 1794 const char *v29; // [sp-8h] [bp-18h]@68 |
1795 char *v30; // [sp-4h] [bp-14h]@68 | 1795 char *v30; // [sp-4h] [bp-14h]@68 |
1796 int uWidtha; // [sp+14h] [bp+4h]@66 | 1796 int uWidtha; // [sp+14h] [bp+4h]@66 |
1797 int a4a; // [sp+20h] [bp+10h]@15 | 1797 int a4a; // [sp+20h] [bp+10h]@15 |
1798 | 1798 |
1799 uNextFreeWindowID = 0; | |
1800 for (uNextFreeWindowID = 0; uNextFreeWindowID < 20; ++uNextFreeWindowID) | 1799 for (uNextFreeWindowID = 0; uNextFreeWindowID < 20; ++uNextFreeWindowID) |
1801 { | 1800 { |
1802 if (pWindowList[uNextFreeWindowID].eWindowType == WINDOW_null) | 1801 if (pWindowList[uNextFreeWindowID].eWindowType == WINDOW_null) |
1803 break; | 1802 break; |
1804 } | 1803 } |