richedit: Set error codes and stop parsing for some rtf syntax errors.
commit632015dc626f85a61165eab89c976c0fef730a9c
authorDylan Smith <dylan.ah.smith@gmail.com>
Thu, 26 Jun 2008 20:17:25 +0000 (26 16:17 -0400)
committerAlexandre Julliard <julliard@winehq.org>
Fri, 27 Jun 2008 09:08:33 +0000 (27 11:08 +0200)
tree12b9bfd2cff998e0f38ff4ad70eb01537d9a65f3
parent461830a83d46f1867a6097e1498eaf10ce0a2680
richedit: Set error codes and stop parsing for some rtf syntax errors.

Checks were added for hexadecimal values that did not have valid
characters, and for EOF received before the final closing brace of the
rich text stream.  The error values were tested on richedit versions 1,
2, 3 & 4.1, and they were all the same for these cases.
dlls/riched20/editor.c
dlls/riched20/reader.c