Don't write out of bounds.
authorMatthias Clasen <mclasen@redhat.com>
Tue, 8 Feb 2005 15:14:31 +0000 (15:14 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Tue, 8 Feb 2005 15:14:31 +0000 (15:14 +0000)
commit348da88e27677d67b93c11d0f24391453783017a
treef4b44a9acc1d9ae97c1035941a4097f2914a84c2
parentf18cab0ce371406e5913ec31d7f5bac35d072f15
Don't write out of bounds.

2005-02-08  Matthias Clasen  <mclasen@redhat.com>

* glib/gkeyfile.c (g_key_file_parse_value_as_string): Don't
write out of bounds.

* glib/goption.c (g_option_context_parse): Fix a
one-too-short memory allocation.  (#166609, Nicolas Laurent)

* tests/Makefile.am (TESTS_ENVIRONMENT): Add tests with
MALLOC_CHECK_.

* tests/option-test.c: Add a test for unkown short options.
ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-12
ChangeLog.pre-2-8
glib/gkeyfile.c
glib/goption.c
tests/Makefile.am
tests/option-test.c