html_saw_insecure_objects: Don't infinite loop on objects

Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
This commit is contained in:
Daniel Silverstone 2019-12-01 17:04:39 +00:00
parent 33c81b6932
commit 715586bb65
No known key found for this signature in database
GPG Key ID: C30DF439F2987D74

View File

@ -2680,6 +2680,7 @@ html_saw_insecure_objects(struct content *c)
if (content_saw_insecure_objects(obj->content)) if (content_saw_insecure_objects(obj->content))
return true; return true;
} }
obj = obj->next;
} }
/* Now check the script list */ /* Now check the script list */