Fixed vulnerable strcpy calls