richedit: Respect the cbSize field on EM_GETPARAFORMAT.
commitf73a34647f4cfb01022a0c3e9f918e46555787c2
authorDylan Smith <dylan.ah.smith@gmail.com>
Fri, 16 Jan 2009 04:50:20 +0000 (15 23:50 -0500)
committerAlexandre Julliard <julliard@winehq.org>
Fri, 16 Jan 2009 11:57:10 +0000 (16 12:57 +0100)
treebf3b0bf4e34aa663235bef3f997d2ceee9162d1e
parent1181bb762f8b1492e236320fd247ec173085b004
richedit: Respect the cbSize field on EM_GETPARAFORMAT.

EM_GETPARAFORMAT previously would overwrite the cbSize field with the
size of PARAFORMAT2, would read past the end of the struct, and might
indicate that PARAFORMAT2 fields are valid using the mask regardless
of the value of cbSize.
dlls/riched20/para.c