richedit: Prevent font or colour buffer overflow on stream out.
commitfac8e957c53b5ffeed690c782cc0bd34e07c8438
authorDylan Smith <dylan.ah.smith@gmail.com>
Tue, 30 Sep 2008 21:11:29 +0000 (30 17:11 -0400)
committerAlexandre Julliard <julliard@winehq.org>
Wed, 1 Oct 2008 16:40:04 +0000 (1 11:40 -0500)
tree7fc01a5bbf4d879c5bbd35201057d4a0c17b9fcb
parent3df78710a962c7f50e3f395c4e6e06f90ff88d98
richedit: Prevent font or colour buffer overflow on stream out.

Static sized buffers are used for storing the colours and fonts, so
there needs to be a check to prevent these buffer from overflowing.
dlls/riched20/writer.c