sogo: v2 e5f15f69

Author Committer Branch Timestamp Parent
Javier Amor García Javier Amor García v2 2016-01-27 10:42 v2 8e80b57d
Changeset

RTFHandler: protect against CR and bad hexadecimal sequence

In RTF is possible to specify characters with the sequence \'XX being
XX an hexadecimal number.
With this changeset we guard against incorrect hexadecimal numbers which
will be ignored.

The other change added is to ignore carriadge returns in plain text.

mod - OpenChange/RTFHandler.m Diff File
add - Tests/Unit/Fixtures/bad_hex_and_cr.rtf Diff File
mod - Tests/Unit/TestRTFHandler.m Diff File