* 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 b6ffde0b79a715f0eb69db6980cef0aec09a1872..732ea24f372eecdc4bc55bf1673f6754cdd47815 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 671cf83071099cdb7669fc3300d71cf076271ea2..394ce35c19b6be02140e56af12de192e8f8f28c1 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 a1e97652d931c317cf965b92c4e9b39e2e6b5f73..efb92a59a5e2003529db996d34a23165e0a9447e 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)