* src/matcher.c
authorChristoph Hohmann <reboot@gmx.ch>
Sun, 21 Jul 2002 23:38:45 +0000 (23:38 +0000)
committerChristoph Hohmann <reboot@gmx.ch>
Sun, 21 Jul 2002 23:38:45 +0000 (23:38 +0000)
        set prop->preg pointer to NULL or following check
        will not fail and regexec will be called with
        invalid pointer

ChangeLog.claws
configure.in
src/matcher.c

index b6ffde0..732ea24 100644 (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]
index 671cf83..394ce35 100644 (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
index a1e9765..efb92a5 100644 (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)