fix header validation with unitialised var

This commit is contained in:
David CARLIER 2023-06-01 21:44:13 +01:00
parent 57a1efa727
commit 8ba435d831

View file

@ -1025,7 +1025,7 @@ Mod_LoadDKMModel(const char *mod_name, const void *buffer, int modfilelen,
modtype_t *type)
{
dmdl_t dmdlheader, *pheader = NULL;
dkm_header_t header;
dkm_header_t header = {0};
void *extradata = NULL;
int i;