DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

Link: http://www.fltk.org/str.php?L2635
Version: 1.3-feature


>From src/Fl_win32.cxx line 1944:

Window fl_xid_(const Fl_Window *w) {
  Fl_X *temp = Fl_X::i(w); 
  return temp ? temp->xid : 0;
}

The previous version was in FL/win32.H since svn r3897, and it was changed
like this in r3897 on 2004-11-20:

-inline Window fl_xid(const Fl_Window*w) {return Fl_X::i(w)->xid;}
+inline Window fl_xid(const Fl_Window*w) {Fl_X *temp = Fl_X::i(w); return
temp ? temp->xid : 0;}

The svn log says among others:

fl_xid() could cause a WIN32 application to crash (STR #560, STR #576, STR
#618)

I believe that there are enough reasons to apply the patch ASAP.
I couldn't reproduce it on Linux though with one of the test cases I tried
from above mentioned STR's, but that shouldn't matter.

Matt ?

(If this is not enough: Pierre or Kurt, do you have a test case?)


Link: http://www.fltk.org/str.php?L2635
Version: 1.3-feature

_______________________________________________
fltk-dev mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-dev

Reply via email to