Add tests for the empty pattern.
authorMatthias Clasen <mclasen@redhat.com>
Thu, 15 Apr 2004 13:58:29 +0000 (13:58 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Thu, 15 Apr 2004 13:58:29 +0000 (13:58 +0000)
commitf4d9fcd8d4682e5e34fd7fe6e854e71ab917b0df
tree61f8f7f3c95b8c5c6b784f002623cd508449f40e
parent817f25b95b3c3725510abc4e9395ebc05b651bce
Add tests for the empty pattern.

2004-04-15  Matthias Clasen  <mclasen@redhat.com>

* tests/patterntest.c (main): Add tests for the empty pattern.

* glib/gpattern.c (g_pattern_spec_new): Don't read and write out
of bounds when the pattern is empty.  (#140032, Stanislav Brabec,
Stefan Fent)
ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-12
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
glib/gpattern.c
tests/patterntest.c