void _main(){main_struct data;main_struct *data_ptr1=&data;main_struct *data_ptr2=&data;linked_list head={&head, &head};data.list.next=head.next;data.list.prev=&head;head.next=&data.list;head.next->prev=&data.list;{main_struct data=*data_ptr1;fgets((char*)&data, sizeof(data), stdin);}{main_struct data=*data_ptr2;* */prev=data.list.prev;next=data.list.next;prev->next=next;next->prev=prev;}}
static void main(){bad_struct data;bad_struct *data_ptr1=&data;bad_struct *data_ptr2=&data;linked_list head={&head, &head};data.list.next=head.next;data.list.prev=&head;head.next=&data.list;head.next->prev=&data.list;{bad_struct data=*data_ptr1;}{bad_struct data=*data_ptr2;* */prev=data.list.prev;next=data.list.next;prev->next=next;next->prev=prev;}}