From 69d520278895b15435b80407fb2528c8c1e45d91 Mon Sep 17 00:00:00 2001 From: Thibault Saunier Date: Thu, 9 Apr 2020 11:16:34 -0400 Subject: [PATCH] validate: Avoid dereferencing NULL pointer CID: 1461266 --- ges/ges-validate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ges/ges-validate.c b/ges/ges-validate.c index cbdf153795..abfff9d135 100644 --- a/ges/ges-validate.c +++ b/ges/ges-validate.c @@ -417,7 +417,7 @@ GES_START_VALIDATE_ACTION (_edit) REPORT_UNLESS (GST_CLOCK_TIME_IS_VALID (position), beach, "Invalid frame number '%" G_GINT64_FORMAT "': %s", fposition, - err->message); + err ? err->message : "Unknown"); } gst_structure_get_int (action->structure, "new-layer-priority", -- 2.34.1