diff options
-rw-r--r-- | HISTORY | 3 | ||||
-rw-r--r-- | HISTORY.DE | 2 | ||||
-rw-r--r-- | epgsearchtools.c | 2 |
3 files changed, 5 insertions, 2 deletions
@@ -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: @@ -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); } } |