summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--HISTORY3
-rw-r--r--HISTORY.DE2
-rw-r--r--epgsearchtools.c2
3 files changed, 5 insertions, 2 deletions
diff --git a/HISTORY b/HISTORY
index 892a564..9ff21eb 100644
--- a/HISTORY
+++ b/HISTORY
@@ -95,7 +95,8 @@ fixes:
- some fixes regarding libtre includes, thanks to Ville Skyttä for providing a patch
- fix UTF8-character handling in timer file names, thanks to Rolf Ahrenberg for providing
a patch
-
+- fixed a crash when adding huge episode names to the timer's file name, thanks to Lari
+ Tuononen for reporting
2008-04-29: Version 0.9.24
new:
diff --git a/HISTORY.DE b/HISTORY.DE
index 59292ad..7975db2 100644
--- a/HISTORY.DE
+++ b/HISTORY.DE
@@ -99,6 +99,8 @@ fixes:
- Einige Korrekturen bzgl. libtre-Includes, Danke an Ville Skyttä für den Patch.
- Korrektur beim UTF8-Zeichensatz-Handling bei Timer-Filenamen, Danke an Rolf Ahrenberg für
den Patch.
+- Absturz beim Hinzufügen sehr langer Episodentexte zum Verzeichnis eines Timers behoben,
+ Danke an Lari Tuononen für den Hinweis.
2008-04-29: Version 0.9.24
diff --git a/epgsearchtools.c b/epgsearchtools.c
index 3748ba5..3f542e9 100644
--- a/epgsearchtools.c
+++ b/epgsearchtools.c
@@ -751,7 +751,7 @@ void PrepareTimerFile(const cEvent* event, cTimer* timer)
if (addSubtitle)
{
char tmp[MaxFileName] = "";
- sprintf(tmp, "%s~%s", event->Title(), event->ShortText());
+ snprintf(tmp, MaxFileName, "%s~%s", event->Title(), event->ShortText());
timer->SetFile(tmp);
}
}