parser yang BUGFIX missing check of argument in extension instance
diff --git a/src/resolve.c b/src/resolve.c
index 68ae8ab..45f75f2 100644
--- a/src/resolve.c
+++ b/src/resolve.c
@@ -4684,6 +4684,11 @@
         (*ext)->def = e;
         (*ext)->parent = info->parent;
 
+        if (e->argument && !(*ext)->arg_value) {
+            LOGVAL(LYE_MISSARG, LY_VLOG_NONE, NULL, e->argument, ext_name);
+            goto error;
+        }
+
         /* extension type-specific part */
         if (e->plugin) {
             etype = e->plugin->type;