http://bugs.winehq.org/show_bug.cgi?id=10577 --- Comment #8 from Alex Villacís Lasso <a_villacis(a)palosanto.com> 2007-12-06 13:03:43 --- Created an attachment (id=9520) --> (http://bugs.winehq.org/attachment.cgi?id=9520) Fix behavior of WM_GETTEXT in case of buffer overflow. Second patch of 4 to fix problems found with riched20 control. In case of overflow, WM_GETTEXT fills the entire buffer and does *not* place a trailing null byte at the end. It also returns 0 instead of the filled length, even though it filled the entire buffer. Unlike EM_GETTEXTEX, WM_GETTEXT does truncate CRLF into CR if the full CRLF does not fit inside the buffer. Patch already sent to wine-patches. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.