~hp/vm.lv2

01d27a9add06c8be0c651feac3120003bc641f46 — Hanspeter Portner 5 months ago ca29e50
Fix potential null pointer dereference
1 files changed, 1 insertions(+), 1 deletions(-)

M src/vm_ui.c
M src/vm_ui.c => src/vm_ui.c +1 -1
@@ 1141,7 1141,7 @@ instantiate(const LV2UI_Descriptor *descriptor, const char *plugin_uri,
		LV2_UI__scaleFactor);

	for(LV2_Options_Option *opt = opts;
		(opt->key != 0) && (opt->value != NULL);
		opt && (opt->key != 0) && (opt->value != NULL);
		opt++)
	{
		if( (opt->key == param_sampleRate) && (opt->type == handle->forge.Float) )