Fix potential buffer overflow.

There may have not been enough room for strftime().
This commit is contained in:
Ben Kibbey 2012-09-23 08:59:58 -04:00 committed by Adam Sutton
parent c4971f62a3
commit 75bda60058

View file

@ -249,7 +249,7 @@ static dvr_entry_t *_dvr_entry_create (
dvr_prio_t pri)
{
dvr_entry_t *de;
char tbuf[30];
char tbuf[64];
struct tm tm;
time_t t;
dvr_config_t *cfg = dvr_config_find_by_name_default(config_name);