• Dylan Smith's avatar
    richedit: Prevent buffer overflows in WM_GETTEXT. · c4b023b1
    Dylan Smith authored
    The application AutoGK was getting the length of the text with
    WM_GETTEXTLENGTH to allocate an appropriate buffer size, but then
    claimed the buffer was twice the size when sending WM_GETTEXTEX.  This
    caused the memcpy call to overflow the actual buffer since the count
    is based on the size of the buffer alone, regardless of the amount of
    text retrieved.
    c4b023b1
Name
Last commit
Last update
dlls Loading commit data...
documentation Loading commit data...
fonts Loading commit data...
include Loading commit data...
libs Loading commit data...
loader Loading commit data...
programs Loading commit data...
server Loading commit data...
tools Loading commit data...
.gitignore Loading commit data...
ANNOUNCE Loading commit data...
AUTHORS Loading commit data...
COPYING.LIB Loading commit data...
LICENSE Loading commit data...
LICENSE.OLD Loading commit data...
Make.rules.in Loading commit data...
Makefile.in Loading commit data...
README Loading commit data...
VERSION Loading commit data...
aclocal.m4 Loading commit data...
configure Loading commit data...
configure.ac Loading commit data...