* src/matcher.c

set prop->preg pointer to NULL or following check
        will not fail and regexec will be called with
        invalid pointer
This commit is contained in:
Christoph Hohmann 2002-07-21 23:38:45 +00:00
parent 6f47472eb0
commit 9706ad4087
3 changed files with 9 additions and 1 deletions

View file

@ -1,3 +1,10 @@
2002-07-22 [christoph] 0.7.8claws93
* src/matcher.c
set prop->preg pointer to NULL or following check
will not fail and regexec will be called with
invalid pointer
2002-07-21 [alfons] 0.7.8claws92
* src/prefs_common.[ch]

View file

@ -8,7 +8,7 @@ MINOR_VERSION=7
MICRO_VERSION=8
INTERFACE_AGE=0
BINARY_AGE=0
EXTRA_VERSION=claws92
EXTRA_VERSION=claws93
VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION$EXTRA_VERSION
dnl set $target

View file

@ -262,6 +262,7 @@ static gboolean matcherprop_string_match(MatcherProp * prop, gchar * str)
? REG_ICASE : 0)) != 0) {
prop->error = 1;
g_free(prop->preg);
prop->preg = NULL;
}
}
if (prop->preg == NULL)