summaryrefslogtreecommitdiff
path: root/libcpp/ChangeLog
diff options
context:
space:
mode:
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>2012-12-03 17:19:47 +0000
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>2012-12-03 17:19:47 +0000
commit8e1d1b0ccf9262454469053aa3d9eabca979a8a9 (patch)
tree0631b731076c534491f883f189109e95a9bd12d4 /libcpp/ChangeLog
parent9e538e2d4fd82505004d9c4ca057ec0ad050028e (diff)
downloadgcc-8e1d1b0ccf9262454469053aa3d9eabca979a8a9.tar.gz
PR bootstrap/55380
PR other/54691 * files.c (read_file_guts): Allocate extra 16 bytes instead of 1 byte at the end of buf. Pass size + 16 instead of size to _cpp_convert_input. * charset.c (_cpp_convert_input): Reallocate if there aren't at least 16 bytes beyond to.len in the buffer. Clear 16 bytes at to.text + to.len. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@194102 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libcpp/ChangeLog')
-rw-r--r--libcpp/ChangeLog11
1 files changed, 11 insertions, 0 deletions
diff --git a/libcpp/ChangeLog b/libcpp/ChangeLog
index 3b729b838b8..fc78ca81060 100644
--- a/libcpp/ChangeLog
+++ b/libcpp/ChangeLog
@@ -1,3 +1,14 @@
+2012-12-03 Jakub Jelinek <jakub@redhat.com>
+
+ PR bootstrap/55380
+ PR other/54691
+ * files.c (read_file_guts): Allocate extra 16 bytes instead of
+ 1 byte at the end of buf. Pass size + 16 instead of size
+ to _cpp_convert_input.
+ * charset.c (_cpp_convert_input): Reallocate if there aren't
+ at least 16 bytes beyond to.len in the buffer. Clear 16 bytes
+ at to.text + to.len.
+
2012-11-21 Steve Ellcey <sellcey@mips.com>
PR pch/55399