summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--HISTORY3
-rw-r--r--HISTORY.DE2
-rw-r--r--epgsearchtools.c2
3 files changed, 6 insertions, 1 deletions
diff --git a/HISTORY b/HISTORY
index 14d4ea3..d634030 100644
--- a/HISTORY
+++ b/HISTORY
@@ -113,6 +113,9 @@ fixes:
- some providers have strange EPG time changes only by some seconds. epgsearch now ignores
changes less than 60s and does not touch the corresponding timer or report by mail,
thanks to cmichel@mantis for reporting
+- possible fix of the old problem with a crash in libpcre, thanks to Andreas Cz. for the
+ patch and to Stefan Bauer for pointing me to it.
+
2008-04-29: Version 0.9.24
new:
diff --git a/HISTORY.DE b/HISTORY.DE
index 4cfd07e..bcb842e 100644
--- a/HISTORY.DE
+++ b/HISTORY.DE
@@ -119,6 +119,8 @@ fixes:
epgsearch ignoriert nun Änderungen von weniger als 60s und ändert den zugehörigen Timer
nicht. Es erfolgt auch keine Emailbenachrichtigung. Danke an cmichel@mantis für den
Hinweis.
+- möglicher Fix für das alte Problem mit dem crash in libpcre, Danke an Andreas Cz. für
+ den Patch und an Stefan Bauer für den Hinweis darauf.
2008-04-29: Version 0.9.24
diff --git a/epgsearchtools.c b/epgsearchtools.c
index bca9bc2..56657d1 100644
--- a/epgsearchtools.c
+++ b/epgsearchtools.c
@@ -358,7 +358,7 @@ bool MatchesSearchMode(const char* szTest, const char* searchText, int mode, con
{
regex_t re;
- if ( 0 == regcomp(&re, searchText, REG_EXTENDED) )
+ if ( 0 == regcomp(&re, searchText, REG_EXTENDED | REG_NOSUB) )
{
int status = regexec( &re, szTest, 0, NULL, 0);
regfree(&re);