Re: [fltk.bugs] [LOW] STR #2783: Fl_Text_Buffer::text(const char*) segfault when NULL is passed
[STR Closed w/Resolution] Link: http://www.fltk.org/str.php?L2783 Version: 1.3-current Fix Version: 1.3-current (r9366) Fixed in Subversion repository. Made sure internal cleanup still happens as suggested. Updated documentation & mod adequately. Link: http://www.fltk.org/str.php?L2783 Version: 1.3-current Fix Version: 1.3-current (r9366) ___ fltk-bugs mailing list fltk-bugs@easysw.com http://lists.easysw.com/mailman/listinfo/fltk-bugs
Re: [fltk.bugs] [LOW] STR #2783: Fl_Text_Buffer::text(const char*) segfault when NULL is passed
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] Link: http://www.fltk.org/str.php?L2783 Version: 1.3-current No, you don't want to return. Even if the string is NULL, the predelete/modify callbacks should still be done, selections zeroed out.. basically all that code below should still be allowed to do internal housecleaning. Code like IS_UTF8_ALIGNED() wouldn't need to be called, but it already does a NULL check, so it's OK. Link: http://www.fltk.org/str.php?L2783 Version: 1.3-current ___ fltk-bugs mailing list fltk-bugs@easysw.com http://lists.easysw.com/mailman/listinfo/fltk-bugs
Re: [fltk.bugs] [LOW] STR #2783: Fl_Text_Buffer::text(const char*) segfault when NULL is passed
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] Link: http://www.fltk.org/str.php?L2783 Version: 1.3-current Would it not be best to simply return on encountering a null string; there's no point doing needless processing, unless the desired effect on a null string would actually be to empty the contents of the buffer. Link: http://www.fltk.org/str.php?L2783 Version: 1.3-current ___ fltk-bugs mailing list fltk-bugs@easysw.com http://lists.easysw.com/mailman/listinfo/fltk-bugs
Re: [fltk.bugs] [LOW] STR #2783: Fl_Text_Buffer::text(const char*) segfault when NULL is passed
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] Link: http://www.fltk.org/str.php?L2783 Version: 1.3-current Link: http://www.fltk.org/str.php?L2783 Version: 1.3-current ___ fltk-bugs mailing list fltk-bugs@easysw.com http://lists.easysw.com/mailman/listinfo/fltk-bugs