all repos — fluxbox @ 66e738da77ff640f437e8b88de15bdf6678fa0f6

custom fork of the fluxbox windowmanager

fix crash in ClientPattern
simonb simonb
commit

66e738da77ff640f437e8b88de15bdf6678fa0f6

parent

839cc974c15381de184f7f6c51821784709ef99d

2 files changed, 3 insertions(+), 1 deletions(-)

jump to
M ChangeLogChangeLog

@@ -1,6 +1,8 @@

(Format: Year/Month/Day) Changes for 1.0rc3: *06/08/10: + * Fix crash in ClientPattern when more than one pattern in [app] line (Simon) + ClientPattern.cc * Implement _NET_WM_WINDOW_TYPE_MENU and _NET_WM_WINDOW_TYPE_TOOLBAR (Mark) Ewmh.cc/hh * Fix duplicated UTF-8 encoding in el_GR (thanks Slava Semushin)
M src/ClientPattern.ccsrc/ClientPattern.cc

@@ -264,7 +264,7 @@ Terms::const_iterator it = m_terms.begin();

Terms::const_iterator it_end = m_terms.end(); Terms::const_iterator other_it = pat.m_terms.begin(); Terms::const_iterator other_it_end = pat.m_terms.end(); - for (; it != it_end, other_it != other_it_end; ++it, ++other_it) { + for (; it != it_end && other_it != other_it_end; ++it, ++other_it) { if ((*it)->orig != (*other_it)->orig) return false; }