Fixed another buffer overflow in tic processing
This commit is contained in:
parent
16395539a0
commit
1eac0936ac
@ -50,7 +50,7 @@ void tidy_orphans(orphans **qal)
|
|||||||
void fill_orphans(orphans **qal, char *TicName, char *Area, char *FileName, int Orphaned, int BadCRC)
|
void fill_orphans(orphans **qal, char *TicName, char *Area, char *FileName, int Orphaned, int BadCRC)
|
||||||
{
|
{
|
||||||
orphans *tmp;
|
orphans *tmp;
|
||||||
|
Syslog('-', "fill_orphans");
|
||||||
tmp = (orphans *)malloc(sizeof(orphans));
|
tmp = (orphans *)malloc(sizeof(orphans));
|
||||||
tmp->next = *qal;
|
tmp->next = *qal;
|
||||||
snprintf(tmp->TicName, 13, TicName);
|
snprintf(tmp->TicName, 13, TicName);
|
||||||
|
Reference in New Issue
Block a user