diff options
author | Christian Wieninger <cwieninger (at) gmx (dot) de> | 2009-11-27 18:17:26 +0100 |
---|---|---|
committer | Christian Wieninger <cwieninger (at) gmx (dot) de> | 2009-11-27 18:17:26 +0100 |
commit | 693cebba731dda3b474f7aad06b0fdc5e43675ec (patch) | |
tree | 3fd5dd526e70c8325ca3b3feac4e1dcee5f6bf55 | |
parent | 0716d467b0cfc0eafafbb9d8258f86fcf22222bd (diff) | |
download | vdr-plugin-epgsearch-693cebba731dda3b474f7aad06b0fdc5e43675ec.tar.gz vdr-plugin-epgsearch-693cebba731dda3b474f7aad06b0fdc5e43675ec.tar.bz2 |
possible fix for old libpcre crash
-rw-r--r-- | HISTORY | 3 | ||||
-rw-r--r-- | HISTORY.DE | 2 | ||||
-rw-r--r-- | epgsearchtools.c | 2 |
3 files changed, 6 insertions, 1 deletions
@@ -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: @@ -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); |