Fixed another buffer overflow in tic processing

This commit is contained in:
Michiel Broek 2008-03-14 20:09:37 +00:00
parent 16395539a0
commit 1eac0936ac

View File

@ -50,7 +50,7 @@ void tidy_orphans(orphans **qal)
void fill_orphans(orphans **qal, char *TicName, char *Area, char *FileName, int Orphaned, int BadCRC)
{
orphans *tmp;
Syslog('-', "fill_orphans");
tmp = (orphans *)malloc(sizeof(orphans));
tmp->next = *qal;
snprintf(tmp->TicName, 13, TicName);