re PR preprocessor/30001 (out-of-bounds access when processing empty file)
commit30b0edc057bf0cda15810a74bb1c4a28381cee42
authorTom Tromey <tromey@redhat.com>
Thu, 28 Dec 2006 18:45:48 +0000 (28 18:45 +0000)
committerTom Tromey <tromey@gcc.gnu.org>
Thu, 28 Dec 2006 18:45:48 +0000 (28 18:45 +0000)
tree1d3f02bb630179f0bf2fe0b14fc0c2031d5a3f7a
parentc5bfb0451df393fe3daedd21ed2619eb5f7f5f20
re PR preprocessor/30001 (out-of-bounds access when processing empty file)

PR preprocessor/30001:
* charset.c (_cpp_convert_input): Check that to.len is greater
than zero.

From-SVN: r120245
libcpp/ChangeLog
libcpp/charset.c