-
Committer:
Kristian Nielsen
-
Date:
2009-01-07 13:11:40 UTC
-
mto:
(779.1.1 devel)
-
mto:
This revision was merged to the branch mainline in
revision
784.
-
Revision ID:
knielsen@odin-20090107131140-cqursamrd7u3sypq
Fix memory overrun detected by Valgrind, where fill_table_proto()
would read past the end of field comment strings.
Change allocation of table->field comment strings to be
zero-terminated, by allocating with strmake_root().
fill_table_proto() assumes they are zero-terminated, and other
comments on the table are already allocated in this way.