From 9a50ba9edbf06370e9bddd344e200591f1f12f06 Mon Sep 17 00:00:00 2001 From: kramm Date: Mon, 13 Oct 2008 14:05:55 +0000 Subject: [PATCH] fixed a potential segfault --- src/swfc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/swfc.c b/src/swfc.c index 377b531..2db2d10 100644 --- a/src/swfc.c +++ b/src/swfc.c @@ -923,7 +923,7 @@ static void writeInstance(instance_t* i) while (frame < currentframe) { frame++; - while (tag->id != ST_SHOWFRAME) + while (tag && tag->id != ST_SHOWFRAME) tag = tag->next; if (parametersChange(i->history, frame)) { -- 1.7.10.4